diff --git a/tessilator/tests/tessilator.tessilator.aperture.log b/tessilator/tests/tessilator.tessilator.aperture.log new file mode 100644 index 0000000..e69de29 diff --git a/tessilator/tests/tessilator.tessilator.contaminants.log b/tessilator/tests/tessilator.tessilator.contaminants.log new file mode 100644 index 0000000..e69de29 diff --git a/tessilator/tests/tessilator.tessilator.lc_analysis.log b/tessilator/tests/tessilator.tessilator.lc_analysis.log new file mode 100644 index 0000000..e69de29 diff --git a/tessilator/tests/tessilator.tessilator.periodogram.log b/tessilator/tests/tessilator.tessilator.periodogram.log new file mode 100644 index 0000000..e69de29 diff --git a/tessilator/tests/test_aic_flat_with_err.png b/tessilator/tests/test_aic_flat_with_err.png index 3579bad..c9edce7 100644 Binary files a/tessilator/tests/test_aic_flat_with_err.png and b/tessilator/tests/test_aic_flat_with_err.png differ diff --git a/tessilator/tests/test_aic_linear_with_err.png b/tessilator/tests/test_aic_linear_with_err.png index 1123d4e..9911b02 100644 Binary files a/tessilator/tests/test_aic_linear_with_err.png and b/tessilator/tests/test_aic_linear_with_err.png differ diff --git a/tessilator/tests/test_aic_parabola_with_err.png b/tessilator/tests/test_aic_parabola_with_err.png index a90ddf7..8c12929 100644 Binary files a/tessilator/tests/test_aic_parabola_with_err.png and b/tessilator/tests/test_aic_parabola_with_err.png differ diff --git a/tessilator/tests/test_clean_lightcurve.py b/tessilator/tests/test_clean_lightcurve.py index 7d46ca0..9541a0a 100644 --- a/tessilator/tests/test_clean_lightcurve.py +++ b/tessilator/tests/test_clean_lightcurve.py @@ -21,14 +21,16 @@ from astropy.table import Table from astropy.io import ascii -aps = ['./targets_tests/Gaia_DR3_2314778985026776320_tests/ap_2314778985026776320_0029_1_2.csv', - './targets_tests/BD+20_2465_tests/ap_BD+20_2465_0045_3_4.csv', - './targets_tests/GESJ08065664-4703000_tests/ap_GESJ08065664-4703000_0061_3_1.csv', - './targets_tests/ABDor_tests/ap_AB_Dor_0036_4_3.csv'] -lcs = ['./targets_tests/Gaia_DR3_2314778985026776320_tests/lc_2314778985026776320_0029_1_2_reg_oflux.csv', - './targets_tests/BD+20_2465_tests/lc_BD+20_2465_0045_3_4_reg_oflux.csv', - './targets_tests/GESJ08065664-4703000_tests/lc_GESJ08065664-4703000_0061_3_1_reg_oflux.csv', - './targets_tests/ABDor_tests/lc_AB_Dor_0036_4_3_reg_oflux.csv'] +targ_dir = './tessilator/tests/targets_tests' + +aps = [f'{targ_dir}/Gaia_DR3_2314778985026776320_tests/ap_2314778985026776320_0029_1_2.csv', + f'{targ_dir}/BD+20_2465_tests/ap_BD+20_2465_0045_3_4.csv', + f'{targ_dir}/GESJ08065664-4703000_tests/ap_GESJ08065664-4703000_0061_3_1.csv', + f'{targ_dir}/ABDor_tests/ap_AB_Dor_0036_4_3.csv'] +lcs = [f'{targ_dir}/Gaia_DR3_2314778985026776320_tests/lc_2314778985026776320_0029_1_2_reg_oflux.csv', + f'{targ_dir}/BD+20_2465_tests/lc_BD+20_2465_0045_3_4_reg_oflux.csv', + f'{targ_dir}/GESJ08065664-4703000_tests/lc_GESJ08065664-4703000_0061_3_1_reg_oflux.csv', + f'{targ_dir}/ABDor_tests/lc_AB_Dor_0036_4_3_reg_oflux.csv'] for ap_file, lc_file in zip(aps, lcs): ap_in = ascii.read(ap_file) diff --git a/tessilator/tests/test_periodogram.py b/tessilator/tests/test_periodogram.py index e1a30df..4f78b09 100644 --- a/tessilator/tests/test_periodogram.py +++ b/tessilator/tests/test_periodogram.py @@ -107,10 +107,12 @@ def test_multi_peak_fit(): assert((LS_dict[f'period_{i+1}']/periods[i] > 0.8) and LS_dict[f'period_{i+1}']/periods[i] < 1.2) def test_real_targets(p_min_thresh=0.05, p_max_thresh=100., samples_per_peak=50): - lcs = ['./targets_tests/Gaia_DR3_2314778985026776320_tests/lc_2314778985026776320_0029_1_2_reg_oflux.csv', - './targets_tests/BD+20_2465_tests/lc_BD+20_2465_0045_3_4_cbv_oflux.csv', - './targets_tests/GESJ08065664-4703000_tests/lc_GESJ08065664-4703000_0061_3_1_reg_oflux.csv', - './targets_tests/ABDor_tests/lc_AB_Dor_0036_4_3_reg_oflux.csv'] + targ_dir = './tessilator/tests/targets_tests' + + lcs = [f'{targ_dir}/Gaia_DR3_2314778985026776320_tests/lc_2314778985026776320_0029_1_2_reg_oflux.csv', + f'{targ_dir}/BD+20_2465_tests/lc_BD+20_2465_0045_3_4_cbv_oflux.csv', + f'{targ_dir}/GESJ08065664-4703000_tests/lc_GESJ08065664-4703000_0061_3_1_reg_oflux.csv', + f'{targ_dir}/ABDor_tests/lc_AB_Dor_0036_4_3_reg_oflux.csv'] periods = [13.375,6.719,2.492,0.514] for i, (lc, period) in enumerate(zip(lcs, periods)): converters = {'pass_sparse' : bool, diff --git a/tessilator/tests/xypos_sector_test.log b/tessilator/tests/xypos_sector_test.log new file mode 100644 index 0000000..e69de29