Huge refactoring
This commit is contained in:
@@ -98,8 +98,8 @@ def get_coldens(pp):
|
||||
|
||||
im_extent = np.array(pp.get_attribute("/maps", "im_extent"))
|
||||
im_extent *= pp.info["unit_length"].express(U.kpc)
|
||||
map_size = pp.pp_params.pymses.map_size
|
||||
center = np.array(pp.pp_params.disk.center)
|
||||
map_size = pp.params.pymses.map_size
|
||||
center = np.array(pp.params.disk.center)
|
||||
center *= pp.info["unit_length"].express(U.kpc)
|
||||
|
||||
# Physical size of cells
|
||||
|
||||
Reference in New Issue
Block a user