Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Calculate chi-squared between model and observed spectra #10

Open
2 of 5 tasks
djperrefort opened this issue Jul 23, 2019 · 3 comments
Open
2 of 5 tasks

Calculate chi-squared between model and observed spectra #10

djperrefort opened this issue Jul 23, 2019 · 3 comments
Labels
Analysis Scientific analysis

Comments

@djperrefort
Copy link
Member

djperrefort commented Jul 23, 2019

We can calculate the chi-squared value between our models and DR2 spectroscopy. I imagine the general steps for this include:

  • Color-warping the observed spectra to account for the wavelength dependence of the flux calibration
  • Using published t0 values to shift out modeled phase values to the same t=0 point as each observation
  • Modeling the flux with each model at for each observed time
  • Tabulating chi-squared values
  • summarizing results in a few plots

The chi-squared should be calculated for the total spectrum but also for individual regions overlapping with different bandpasses. These regions can be defined as the point where the transmission drops below 10%. u-band should have a lower bound around 3200 A (It has a long blueward tail).

A major road block is that error values for the DR1 spectra are note published.

@djperrefort djperrefort added the enhancement New feature or request label Jul 23, 2019
@djperrefort djperrefort added Analysis Scientific analysis and removed enhancement New feature or request labels Jul 24, 2019
@djperrefort
Copy link
Member Author

djperrefort commented Aug 21, 2019

Some notes from an offline convo with @wmwv:

  1. We don't care about the statistical errors on each flux value since we expect them to be significantly smaller than the error in the calibration. To be conservative, assume an error of 30% of the flux.
  2. It's not clear whether we should calculate chi-sq per band, per wavelength, per wavelength window, or per feature. Lets start with per wavelength and go from there.

@wmwv
Copy link

wmwv commented Aug 21, 2019

To be conservative, assume an error of 30% of the flux.

3% of the flux.

@djperrefort
Copy link
Member Author

Pinging @spletts so she has this issue for reference.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Analysis Scientific analysis
Projects
None yet
Development

No branches or pull requests

2 participants