Skip to content
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

Setting the peak amplitude of a band #254

Open
elle-miller opened this issue Jan 6, 2020 · 1 comment
Open

Setting the peak amplitude of a band #254

elle-miller opened this issue Jan 6, 2020 · 1 comment

Comments

@elle-miller
Copy link

Hi there,

I am working on a project where I am combining two telescope surveys to analyse a SN event. This is because the space-based survey (Kepler - kst) is very good at recovering t0, and the other ground-based survey (Pan-Starrs - psg, psr, psi) is good at measuring colour c. It is my hope that by combining the differing strengths of these surveys, a more accurate fit can be obtained. I am using the SALT2 model (version 2.4), setting redshift and allowing x0, t0, c and x1 to vary.

For example, take the kst data and fit for SN2018oh.

image

Now, here is the Pan-Starrs data and fit for the same object.

image

However when I combine these data sets together, the fit for the data from Pan-Starrs (ps) isn't reaching the peak as it should. I am facing this issue with the majority of my sample.

image

I have tried various means to fix this, mostly by trying to force the Pan-Starrs data to a specified peak, but with not much success:

  • Set guess_amplitude = False (slightly better fit but still not great)
  • Binned the kst data down to only a couple of points so same 'weighting' as ps (no difference)
  • Set peak magnitude in one band before the chi2 fitting process using model.set_source_peakabsmag (no change in output magnitudes)
  • Set x1,c to values from Pan-Starrs only fit, then changed model magnitude in one band. I have found that this affects the other model magnitudes, but for some reason has no impact on the fitted model magnitudes

Do you have any ideas about what could be the problem here? I am particularly interested in being able to tell the fitter a starting guess for the amplitude, but the methods I have tried seem to be doing nothing.

Any help would be greatly appreciated! Thanks in advance.

Elle

@kbarbary
Copy link
Member

kbarbary commented Jan 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants