DaveStrickland / AstroPhotography

Python workflow for processing astrophotography images from either digital cameras and/or amateur telescopes.
GNU General Public License v3.0
19 stars 3 forks source link

Improve ApAutoBadcols class and ap_auto_badcol script #23

Closed DaveStrickland closed 2 months ago

DaveStrickland commented 2 months ago

The ApAutoBadcols class and associated ap_auto_badcol.py script should:

  1. Catch cases where the local standard deviation is zero and not emit RuntimeWarning: divide by zero encountered in divide messages.
  2. Have the ability to generate optional files (CSV, TSV?) showing computed statistics of all rows and/or columns, to allow validation of the algorithm and similar diagnostic investigation. (Prompted by strong spatial patterns in the T24 RBI-flushed master darks).
  3. Ability to generate the user bad column (row, rectangle) YaML instead of requring the user to copy and edit the template, then cut/paste the output of ap_auto_badcol. into that file.
    • YaML generation should be integrated into ApAutoBadcols
    • Should by default not over-write an existing YaML file of the specified name
DaveStrickland commented 2 months ago

Changes: