powderday icon indicating copy to clipboard operation
powderday copied to clipboard

Dump out background radiation field and location and cell size for each cell

Open prerakgarg07 opened this issue 4 years ago • 0 comments

Hyperion can dump out the specific energy absorbed by each gas particle.

grid = m.get_quantities() 
pf = grid.to_yt() 
data = pf.all_data()
sp_en = data['gas', 'specific_energy']

prerakgarg07 avatar Sep 30 '20 15:09 prerakgarg07