fetch_mist_grid_if_needed

artpop.util.fetch_mist_grid_if_needed(phot_system, v_over_vcrit=0.4, mist_path='/home/docs/.artpop/mist', overwrite=False)[source]

If needed, fetch MIST grid from http://waps.cfa.harvard.edu/MIST.

Parameters
phot_systemstr

Photometric system grid to fetch. Must be a supported ArtPop filter system, where are listed in phot_system_list.

v_over_vcritfloat, optional

Rotation rate divided by the critical surface linear velocity. Current options are 0.4 (default) and 0.0.

mist_pathstr, optional

Path to MIST isochrone grids. Use this if you want to use a different path from the default location of ~/.artpop/mist (or the MIST_PATH environment variable if you have it set).

overwritebool, optional

If True, force an overwrite of grid if it exists.