Huge refactoring

This commit is contained in:
Noe Brucy
2021-06-22 12:23:03 +02:00
parent a286c08b72
commit 0dc9e8fc7b
12 changed files with 343 additions and 361 deletions
+2 -2
View File
@@ -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