Skip to content
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

DM-45302: ISR section #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

DM-45302: ISR section #10

wants to merge 2 commits into from

Conversation

aferte
Copy link
Collaborator

@aferte aferte commented Nov 5, 2024

No description provided.

@aferte aferte requested a review from czwa November 5, 2024 23:10
Copy link

@czwa czwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the very long delay. Just a few clarifications and possible typos.

\subsection{ISR package}
\label{sec:ip_isr}

Exposures from LSST cameras are affected by instrumental effects, ranging from well-known CCD effects like dark currents or biases to effects more recently characterized like tree-rings (see \cite{park_properties_2017,park_tree_2020,esteves_photometry_2023} for more details on tree rings in LSSTCam) or the Brighter-Fatter effect as discussed in \cite{broughton_2023}. Correcting for these effects requires specific calibrations, which we refer to as calibration products. In LSST cameras, calibration products typically are a combined bias, a combined dark, a Photon Transfer Curve (PTC), a crosstalk matrix, a list of defects and a look-up table of non-linearity parameters.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"dark currents and bias levels"?


The \texttt{ip\_isr} package\footnote{\url{https://github.com/lsst/ip_isr}} contains the codes needed to remove instrument signatures in exposures from LSST cameras and to produce calibration products.
To inform our ISR approach, we first designed a model of the instrument, displayed in Fig. \ref{fig:isr_model}, based on our knowledge of the hardware and electronics. This model states the order in which the different known instrumental effects happen, from a photon hitting the CCD to the output ADC unit (ADU) signal.
In turn, \texttt{isrTaskLSST} in \texttt{ip\_isr} sequentially applies correction of these effects, typically by calling other \texttt{Tasks} (\textit{e.g.} overscan, crosstalk, etc.) also implemented in \texttt{ip\_isr}.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"These corrections are applied in the opposite order as their effects occur in the model, as we are attempting to remove the impact of those effects on the image."? I mostly want to qualify that sequentially operates in the opposite direction as how they're added in the model.




Overall, \texttt{isrTaskLSST} takes a \texttt{raw} CCD exposure, and calibration products if available, and outputs a \texttt{Struct} containing the input exposure, the \texttt{postISRCCD} output exposure as well as its binned version for easier display, the exposure before interpolation and statistics on the output exposure.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"containing the output exposure"? The input isn't returned.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And possibly "exposure without interpolation," as it should have all the other processing steps done.



Overall, \texttt{isrTaskLSST} takes a \texttt{raw} CCD exposure, and calibration products if available, and outputs a \texttt{Struct} containing the input exposure, the \texttt{postISRCCD} output exposure as well as its binned version for easier display, the exposure before interpolation and statistics on the output exposure.
\texttt{IsrTaskLSSTConfig} defines the configurations used in this \texttt{Task}, they are set by default to their expected value to perform ISR on a typical LSSTCam exposure. Configurations starting with \texttt{do} will typically correspond to an ISR step, they are turned on or off in the pipelines when producing the different calibration products.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Configuration parameters starting with [...]"

The pipelines to build calibration products (\texttt{cp}) for the LSST cameras are defined in \texttt{cp\_pipe}\footnote{\url{https://github.com/lsst/cp\_pipe} and see documentation at \url{https://pipelines.lsst.io/modules/lsst.cp.pipe/constructing-calibrations.html}}.
They mainly set \texttt{isrTaskLSST} configurations needed for each calibration product. In some cases, they also specify whether to combine exposures (for bias or dark exposures for instance) and to bin exposures to support display.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a a sentence or two that the configurations for construction enable all corrections that happen in IsrTask up to but not including the application of the correction to be generated, and that the verify configuration enables everything up to and including the application of the correction being verified? It may be obvious, but I don't think it hurts to be clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants