-
Notifications
You must be signed in to change notification settings - Fork 2
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
iop4.py: enable recomputing results by astrosource #105
Conversation
juanep97
commented
May 6, 2024
•
edited
Loading
edited
- Enables selecting files by source (in between given dates) and recomputing the results.
@@ -94,6 +94,51 @@ def process_epochs(epochname_list: Iterable[str], force_rebuild: bool, check_rem | |||
logger.info("Done.") | |||
|
|||
|
|||
def process_astrosource(args): |
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.
Even if the function name is quite descriptive, I would add a docstring describing it, maybe with some more detailed Notes as well with the different things it can do and args combinations (retry, recompute, etc).
for redf in redfL:
redf.compute_photometry()
redf.compute_polarimetry() (Re)computing polarimetry results can not be done only from a single reduced file. Polarimetry groups need to be re-computed possibly, and then the polarimetric results need to be computed for the whole group. |
a3b9847
to
5133fea
Compare
fdfc82c
to
3c4c09b
Compare