jluastro / PopSyCLE

Population Synthesis for Compact-object Lensing Events
https://popsycle.readthedocs.io/en/latest/
16 stars 3 forks source link

Isochrones #14

Open Kerianne28 opened 4 years ago

Kerianne28 commented 4 years ago

To run the perform_pop_syn function, isochrones are needed. I suggest updating the documentation to add the link where you can download them from (http://waps.cfa.harvard.edu/MIST/interp_isos.html), with instructions on how to do it for log(ages) 5.01-10.01, or add a link to a folder containing all required isochrones (like the PyPopStar documentation has).

(I feel like it is easier to bundle in with PyPopStar by adding in the 5.01-5.99 isochrones so I added it as an issue there as well).

mchalela commented 2 years ago

Hello, I'm starting to use PopSyCLE and i'm getting an error regarding this issue. When running the function synthetic.perform_pop_syn an error is raised because it can't find the isochrones between ages 5 and 6. FileNotFoundError: [Errno 2] No such file or directory: '\<path>/SPISEAModels/evolution/MISTv1/v1.2/iso/z015/iso_5.01.fits'

I followed the link provided in the issue and it seems to be exactly what is missing but I have a couple of questions: 1) I'm not entirely sure about the rest of the configuration parameters. I'm trying to follow the example in the notebook PoPSyCLE_example.ipynb. Should I leave the rest of the parameters by default ? 2) I tried to run the isochrone interpolation with default parameters and the age range of 5.01 to 5.99 in steps of 0.01. The file I get is not in FITS format as the rest of the isochrones within the folder evolution/MISTv1/v1.2/iso/z015/. The ISO.CMD format should be converted to FITS? I'm not sure how to do this or if I'm doing things right.

Thanks in advance! Any help you can provide would be greatly appreciated!