Skip to content
Snippets Groups Projects
Robert Izzard's avatar
add option such that when resolution==0, the resolution is calculated automatically from the sample list.

add delete_grid_variable function

In my CEMP simulations, I use the above with something like this to zoom in around 0.8Msun in M1:

emp_population.update_grid_variable(
    name="lnm1",
    spacingfunc="gaussian_zoom(np.log(0.4),np.log(6.0),np.log(0.8),0.05,0.99,100)",
    resolution=0
)
a6bfbffe
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.