-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
True cont update #972
True cont update #972
Conversation
@@ -123,7 +126,8 @@ def __parse_config(self, config): | |||
self.raw_statistics_filename = config.get("raw statistics file") | |||
|
|||
self.force_stack_delta_to_zero = config.getboolean("force stack delta to zero") | |||
|
|||
self.use_splines=config.getboolean("use splines") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should raise ExpectedFluxError when the different options are None
if only to check that the default values are properly digested (it could not be the case if, for example, one is running from a notebook. I will add a commit to fix this
It seems github actions have updated their version of pylint so I needed to fix a few minor things in some files for the pylint test to pass |
Added two options:
-- use splines
To use mean continuum and var_lss from a spline fit saved in the raw statistics file.--recompute var lss
To use the var lss provided by the raw statistics file instead of the re-computed one. Set as True by default.Both additions motivated by the work with Andrea on CIV forest, as we were having issues getting a good true continuum CF.