organic.auxiliary.SelectData module#

Module to read in data from OIFITS files within certain limits. Modification of the original file stored at ‘/STER/akke/Python/Image2OIFITS’ in the local system of KU Leuven’s Institute of Astronomy.

organic.auxiliary.SelectData.SelectData(data_dir, data_file, wave_1=None, wave_2=None, lim_V2_err=None, lim_V2=None, base_1=None, base_2=None, lim_T3_err=None)#

Returns the data that is selected based on: wave_1: the lower bound of the wavelength range that should be taken into account (in micron) wave_2: the upper bound of the wavelength range (in micron) lim_V2_err: limit up to which the errors on the visibility should be taken into account lim_V2: limit up to which the visibility should be taken into account. Can be used if some visibilities are negative. base_1 and base_2: lower and upper limit, respectively, of bases taken into account (baseline should be in B/lambda) lim_T3_err: limit up to which the closure phases should be taken into account All defaults are set to False. Set to a number if applicable

organic.auxiliary.SelectData.SelectData_data_and_image(data_dir, data_file, img_dir, img_file, wave_1=None, wave_2=None, lim_V2_err=None, lim_V2=None, base_1=None, base_2=None, lim_T3_err=None)#

Returns the data that is selected based on: wave_1: the lower bound of the wavelength range that should be taken into account (in micron) wave_2: the upper bound of the wavelength range (in micron) lim_V2_err: limit up to which the errors on the visibility should be taken into account lim_V2: limit up to which the visibility should be taken into account. Can be used if some visibilities are negative. base_1 and base_2: lower and upper limit, respectively, of bases taken into account (baseline should be in B/lambda) lim_T3_err: limit up to which the closure phases should be taken into account All defaults are set to False. Set to a number if applicable

organic.auxiliary.SelectData.Select_T3err(data, lim_T3_err, img_data=None)#
organic.auxiliary.SelectData.Select_vis2_lim(data, lim_V2, img_data=None)#
organic.auxiliary.SelectData.Select_vis_t3_base(data, base_1, base_2, img_data=None)#
organic.auxiliary.SelectData.Select_vis_t3_wavelength(data, wave_1, wave_2, img_data=None)#
organic.auxiliary.SelectData.Select_viserr(data, lim_V2_err, img_data=None)#