-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to fix the redshift when using the prospector-beta prior #351
Comments
@wangbingjie this one might be for you : ) |
Hum, the first snippet that you sent looks correct -- zred should be fixed to your input value... As a temporary solution, you could try using the prior Let me know if you have further questions! |
Thanks for your kind and rapid reply! I'm trying to repeat the SED fitting part in Dr. Weichen Wang's recent work (https://arxiv.org/pdf/2409.17956), in which he used all the parameter settings in your recent work (https://arxiv.org/pdf/2310.01276) except for the time bin setting and dust attenuation. I use the params_parrot_phisfhfixzred function in the params_prosp_parrot.py as the model. I made the following adjustments:
Thank you again for releasing this super helpful parameter file! Please let me know if papers other than Wang, Leja, et al. and 2023, ApJL. and Wang, Leja, et al., 2024, ApJS. should be cited when using these parameter settings. I still have a naive question, where should I pass this error floor to? If I have a redshift measurement error of dz, should I set |
Sorry I've been busy with Webb proposals. I was suggesting something like obs['zspec'] = z_spec then pass to the prior: This is just to ensure that the integral being calculated in the prior is always computed without errors. Let me know if you run into further problems in reproducing the fit from that paper! |
Thank you so much! Good luck with your proposals! I did a test run and found it works correctly. I still have two questions:
This is a stupid revision since it only works with the 'PhiSFH' prior and 6 sfr ratios. I'm sure that you have much smater way to fix this problem. Thanks! |
|
Hi,
I want to use the prospector-beta priors (Wang, Leja, et al., 2023, ApJL.) with fixed redshift. Specifically, I want to use the 'PhiSFHfixZred' prior to fix the fitting at a given redshift. But I found the redshift (or the nzsfh_1 parameter) changes during the fit. Also, sometimes the fitting process returns some warnings and errors from the redshift-related calculation in astropy. I have tried these two methods to use this 'PhiSFHfixZred' prior (I only show some parameters related to SFH and redshift, basically shamelessly stolen from Dr. Bingjie Wang's great repo https://github.com/wangbingjie/prospector_catalog):
I also tried to fix the 'zred' without any dependence:
Some of the related astropy errors look like this:
Here are my questions:
Thanks!
Zeyu
The text was updated successfully, but these errors were encountered: