On Tue, 29 Dec 2020 02:52:15 -0800 (PST), Priya Singh wrote:
[snip]
> I have two spectra with wavelength, flux, and error on flux. I want to
> find out the variability of these two spectra based on the 2 sample
> Chi-square test. I am using following code:
>
> def compute_chi2_
Hi all,
I have two spectra with wavelength, flux, and error on flux. I want to find out
the variability of these two spectra based on the 2 sample Chi-square test.
I am using following code:
def compute_chi2_var(file1,file2,zemi,vmin,vmax):
w1,f1,e1,c1,vel1 = get_spec_vel(dir_data+file1