jason-neal / companion_simulations

Simulating combined host+companion spectra, and fitting to observed crires spectra.
MIT License
2 stars 0 forks source link

Co-add chi2 values from detectors. #14

Closed jason-neal closed 6 years ago

jason-neal commented 7 years ago

Find out how to co-add chi2 values. from the same obervation together.

Do this for the enitire gird and then use that chi2 value as the minimum value.

Then average or co-add these across the observations.

jason-neal commented 6 years ago

practical statistics

Paper on confidence levels

jason-neal commented 6 years ago

Have done this now with coadd_chi2_db.py and the coadd_analysis_module.py

The db file has combined all 4 detector values and the sum of chisquared. "chi2_X", "coadd_chi2" as well as the "arbnorm_X" and "alpha_X" values. where X = range(1,5)

jason-neal commented 6 years ago

also now count the npix values in each detector to combine together and then reudce the chi2 value properly.