Skip to content
Snippets Groups Projects
Commit fb4580dd authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Add take_log parameter

parent f7e3837c
No related branches found
No related tags found
1 merge request!535cor estimator: add an option to skip flatfield
Pipeline #213812 passed
...@@ -95,6 +95,7 @@ def estimate_cor(method, dataset_info, do_flatfield=True, cor_options=None, logg ...@@ -95,6 +95,7 @@ def estimate_cor(method, dataset_info, do_flatfield=True, cor_options=None, logg
dataset_info, dataset_info,
cor_options=cor_options, cor_options=cor_options,
do_flatfield=do_flatfield, do_flatfield=do_flatfield,
take_log=cor_options.get("take_log", True),
logger=logger, logger=logger,
**composite_options, **composite_options,
) )
...@@ -452,15 +453,15 @@ class CompositeCORFinder(CORFinderBase): ...@@ -452,15 +453,15 @@ class CompositeCORFinder(CORFinderBase):
oversampling=4, oversampling=4,
theta_interval=5, theta_interval=5,
n_subsampling_y=40, n_subsampling_y=40,
do_flatfield=True,
take_log=True, take_log=True,
cor_options=None, cor_options=None,
spike_threshold=0.04, spike_threshold=0.04,
logger=None, logger=None,
norm_order=1, norm_order=1,
do_flatfield=True,
): ):
super().__init__( super().__init__(
"composite-coarse-to-fine", dataset_info, do_flatfield=True, cor_options=cor_options, logger=logger "composite-coarse-to-fine", dataset_info, do_flatfield=False, cor_options=cor_options, logger=logger
) )
if norm_order not in [1, 2]: if norm_order not in [1, 2]:
raise ValueError( raise ValueError(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment