Closed jacopo-chevallard closed 7 years ago
@kevinhainline the problem in this case is due to the following lines in the parameter file
SF_PARAMETER = name:max_stellar_age mock:type:fixed mock:value:9.5
SF_PARAMETER = name:formation_redshift mock:type:fixed mock:value:13.0
since you're fixing the age of stars to log(t/yr)=9.5, but the time elapsed between z=13 (formation redshift) and any z >= 2.0 is < log(t/yr)=9.5. Beagle is therefore skipping all unphysical combinations of parameters, therefore repeating the allowed combinations, i.e. redshifts values from 0.25 to 1.75
If you comment out the line
SF_PARAMETER = name:max_stellar_age mock:type:fixed mock:value:9.5
then you'll get the entire redshift and mass grid
Solved with above commit, see kevin's tests in #47
migrating part of issue #47 here
@kevinhainline writes: (using Beagle version installed on orange, v0.10.5.)
I am having a new and related issue with trying to generate quiescent galaxies at a given stellar mass. Below, I show the parameter file that I'm using, which should produce galaxies with a mass of 10^8 solar masses, at a gridded range of redshifts between 0.25 and 4.0, in steps of 0.25.
BEAGLE is instead producing galaxies only out to z <= 1.75.
I can modify the parameter to file to go between z = 2.0 - 4.0, and get the remaining objects, but it seems strange that it doesn't go all the way between the requested limits.
In addition, I have tried to also grid in mass, and I get a similar redshift cutoff at z = 2.0, and if I try to go between z = 2.0 - 4.0, and a mass range of 10^5 - 10^8, in steps of 0.2 dex, I get this weird behavior:
I think that perhaps I should just try making a fits file and reading the parameters in from that?