As it is, if you have a spectra which had parts cut out in spextool, it is stored with nans where the cuts were made, which gives a clean looking plot. However, if rchi2 is used with this pickle, the nans cause it to crash. Without the nans, the spectra will connect points across the cut, giving an odd looking plot.
As it is, if you have a spectra which had parts cut out in spextool, it is stored with nans where the cuts were made, which gives a clean looking plot. However, if rchi2 is used with this pickle, the nans cause it to crash. Without the nans, the spectra will connect points across the cut, giving an odd looking plot.