#CONFIG['WLCOEFFS'] = {'k1':(' '.join((CONFIG['KEY_DRS'],'CAL K1')),'k1 coefficient of the calibration function'),'k2':(' '.join((CONFIG['KEY_DRS'],'CAL K2')),'k2 coefficient of the calibration function'),'k3':(' '.join((CONFIG['KEY_DRS'],'CAL K3')),'k3 coefficient of the calibration function'),'l0':(' '.join((CONFIG['KEY_DRS'],'CAL L0')),'l0 coefficient of the calibration function'),'xc':(' '.join((CONFIG['KEY_DRS'],'CAL XC')),'xc coefficient of the calibration function'),'rms':(' '.join((CONFIG['KEY_DRS'],'CAL RMSE')),'[m/s] RMS error of the calibration')}
CONFIG['USE_FLAT']={'global':False,'order':True,'nor':False}# global: flat normalized by global mean value - order: flat normalized order by order by mean value - nor: flat normalized row by row by continuum fitting, removing the blaze function - No True value: no flat division
CONFIG['FLAT_EXPT']=100.0
CONFIG['WLCAL_EXPT']=100.0
CONFIG['FP_EXPT']=60.0
CONFIG['DARKLIST']={10:[],30:[],60:[],100:[],200:[],300:[],600:[]}# exptime dei dark
CONFIG['NDARK']=len(CONFIG['DARKLIST'])# quanti tipi di dark (esempio: 10,30,60,100 sec = 4) meglio sovrastimare
CONFIG['WEXT']=5# extraction half-window for wavelength calibration, it will extract 2*wext around the center of the order
CONFIG['WEXT']=10# extraction half-window for wavelength calibration, it will extract 2*wext around the center of the order