zemogle / chemevol

Chemical evolution python package
3 stars 3 forks source link

Unable to use custom .sfh files #34

Open stefanthony opened 2 years ago

stefanthony commented 2 years ago

For my research I plan to derive the best parameters used in chemevol to recreate observed quantities for a selection of galaxies. I have gathered some data including the SFH, but chemevol wouldn't accept the file after converting the data to a .sfh file following the example. After discussing it with my supervisor it seems that there are also problems when using MW.sfh. Is there a way to use a custom .sfh file for the SFH? The error that I get, is: time = self.sfh[:,0] # this is in units of Gyrs TypeError: 'NoneType' object is

stefanthony commented 2 years ago

Also, if I compare the Milkyway.sfh with the figures given in the Yin et al. (2009) paper, it seems that the Milkyway.sfh aligns more with the total infall rate in figure 6 than the total SFR. Is this correct?