Jammy2211 / PyAutoCTI

PyAutoCTI: Charge Transfer Inefficiency Calibration

Home Page:https://pyautocti.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hyper Phases

Jammy2211 opened this issue · comments

We need to implement HyperPhases, which use a noise_scaling map from the results of a previous phase to scale the noise. The codes current state is as follows:

  • The ci_fit module has a CIHyperFit class which computes the likelihood correctly.
  • After a phase (parallel or serial), the noise scaling maps of the best-fit model for the full ci data are available as properties of the Phase's Result.
  • There are integration tests which include a HyperPhase for all CTI directions.

Your job is to implement the HyperPhases such that they:

  • Use the noise scaling maps of the previous phase.
  • Extract these noise scaling maps as part of ci_data_fit to the same extracted dimensions as the ci_data and mask.
  • Have available both hyper fits (Which use the noise scaling map) and oridinary fits (Which do not). This is so that we can visualize the result of scaling the noise.