221 Commits

Author SHA1 Message Date
d505ef6f8a merge CZ fork to testing, prepare pipeline for clenup and fix 2024-07-17 16:44:06 +02:00
sugar_jo
2d0d8105be fix the fits header handling 2024-07-17 12:03:43 +08:00
sugar_jo
c41526c0a6 disable cropping in align_data when optimal_binning 2024-07-16 22:13:39 +08:00
sugar_jo
a72b799713 Update background.py 2024-07-16 22:06:46 +08:00
sugar_jo
fa4dce398f change some variable names 2024-07-16 21:59:22 +08:00
sugar_jo
3c8ca6ac1a Merge branch 'test' into main 2024-07-16 21:39:25 +08:00
1c60e875e8 np.mat to np.asmatrix for Numpy 2.0 2024-07-16 11:40:40 +02:00
sugar_jo
62aef1b1c4 add optimal_binning to plotting 2024-07-15 19:39:21 +08:00
sugar_jo
8e5f439259 add subtract_bkg funcition
Allow subtracting the bkg simpler
2024-07-14 15:46:22 +08:00
72a6938437 some plot fix 2024-07-11 15:11:57 +02:00
163f37d5b2 Merge branch 'testing'
correction for observation orientation and plots improvments
2024-07-10 16:27:34 +02:00
91a59f9664 clean Combine.py add orientat computation from wcs 2024-07-08 17:06:11 +02:00
155717a585 better plots and filenames 2024-07-08 17:05:42 +02:00
d8365e984d fix plots aspect ratio, fits saving of reduction parameters 2024-07-08 14:48:18 +02:00
af8741fbc5 Merge branch 'main' of git.unistra.fr:t.barnouin/FOC_Reduction into main
add Combined.py to all repo
2024-07-04 17:10:29 +02:00
8c88d6424b Merge branch 'main' of git.tibeuleu.xyz:Tibeuleu/FOC_Reduction into main
add Combine.py on all remote repo
2024-07-04 17:09:01 +02:00
a6edf1c1b9 finish Combine.py 2024-07-04 17:08:28 +02:00
cb62d15cb2 add static pdf output to package.lib.plots when executed with -pdf 2024-07-04 15:04:51 +02:00
576c2638f3 Merge pull request 'add observation combinaison' (#1) from testing into main
Reviewed-on: #1
2024-07-04 12:36:27 +00:00
Thibault Barnouin
c584a56b24 Merge branch 'testing' into 'main'
add observation combinaison

See merge request t.barnouin/FOC_Reduction!1
2024-07-04 12:32:57 +00:00
ae71cb3912 fix observation combinaison with better uncertainty propagation 2024-07-04 14:27:43 +02:00
7a15b02b04 remove unnecessary header files, combine obs by sum of counts 2024-07-04 11:49:28 +02:00
2b14ed84aa prepare for observation combinaison 2024-07-03 17:26:02 +02:00
fdcf1cb323 better handling of data rotation, add information about reduction in header 2024-07-03 17:25:34 +02:00
6879a8b551 more reformatting 2024-07-01 16:57:36 +02:00
5397246f34 add display for polarization angle uncertainties 2024-07-01 16:55:48 +02:00
5a62fa4983 reformat code using python-lsp-ruff 2024-07-01 15:21:52 +02:00
271ecbb631 add step_vec, scale_vec to pol_map, reformat code 2024-07-01 15:21:26 +02:00
sugar_jo
a4e8f51c50 Update reduction.py 2024-06-30 11:06:26 +08:00
28d5d073fe better handling of WCS at import 2024-06-28 11:53:31 +02:00
393b1a8663 treat no results from query as exception 2024-06-28 11:51:34 +02:00
sugar_jo
b176e7a56e Update plots.py 2024-06-28 17:33:05 +08:00
sugar_jo
69b3937e9c Update reduction.py 2024-06-27 20:46:42 +08:00
ef430535ed fix some vectors plots 2024-06-18 16:42:14 +02:00
7ab87b50d1 add transmittance correction to Stokes fluxes computation 2024-06-18 16:37:30 +02:00
97479f90fb polarisation -> polarization everywhere 2024-06-04 11:59:33 +02:00
5e27f36869 merge bkg display change to directory change 2024-06-03 12:32:34 +02:00
9fdfa2633f correct exptime in bkg flux display 2024-06-03 12:20:53 +02:00
f1f71a4050 bkg flux plot with obs duration and in log scale 2024-06-03 11:56:03 +02:00
fb4849df25 package-style architecture 2024-05-24 12:15:06 +02:00
4e17f40534 temp fix for ModuleNotFound error in lib.plots 2024-05-22 11:00:26 +02:00
371ec8c1ea better handling of image border while background computation, clean imports 2024-05-21 17:14:19 +02:00
1f43a3194d default snrp to 3 and image output to pdf everywhere 2024-05-21 17:12:59 +02:00
d3915b3706 replace src/analysis with execution from src/lib/plots and move unused scripts to utils 2024-05-21 17:11:09 +02:00
a515182b2c fix crop and clean up 2024-05-13 16:22:12 +02:00
ea0ac013b7 revert background estimation to gaussian fit 2024-05-13 16:20:53 +02:00
a1767de884 propagate options to multiple reductions, default SNRi_cut to 3 2024-05-02 17:12:41 +02:00
cbe6aeda45 Uniform plots and better handled maps for plots 2024-05-02 12:37:40 +02:00
a931e20f5f Fix MAST target query 2024-05-02 12:36:53 +02:00
845c6c30da Fix wrong orientation in some cases 2024-05-02 12:36:17 +02:00