Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
1.3.1 (Unreleased)
==================

- Implement ``persistence`` step, to correct for persistence in MIRI imaging
- Fix backgrounds being wrongly moved in ``lv1_step``
- Moved ``astrometric_align`` to a combined step, to avoid list ordering issues
- Updated dependencies, added specific pins, dependabot, and CODEOWNERS
Expand Down
8 changes: 8 additions & 0 deletions docs/reference_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ Multi-Tile Destriping
:members:
:undoc-members:

===========================
MIRI Persistence Correction
===========================

.. autoclass:: pjpipe.PersistenceStep
:members:
:undoc-members:

============
PSF Matching
============
Expand Down
1 change: 1 addition & 0 deletions docs/steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ However, we highly recommend running these are part of the integrated pipeline.
steps/lv1.rst
steps/single_tile_destripe.rst
steps/lv2.rst
steps/persistence.rst
steps/get_wcs_adjust.rst
steps/apply_wcs_adjust.rst
steps/lyot_separate.rst
Expand Down
24 changes: 24 additions & 0 deletions docs/steps/persistence.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
===============
PersistenceStep
===============

As MIRI does not currently have a persistence correction step, we implement one
based on `this paper <https://arxiv.org/pdf/2512.15477>`_. For each observation,
we calculate a percentage flux correction (in detector pixel space) based on previous
observations.

This step also contains options to include a contribution from previous observation
groups (rather than just the immediate dithers around the observation being considered),
as well as from other bands.

N.B. This step is currently undergoing testing, so a definitive recommendation on the settings
is not currently available

---
API
---

.. autoclass:: pjpipe.PersistenceStep
:members:
:undoc-members:
:noindex:
6 changes: 4 additions & 2 deletions pjpipe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
]
)

from .anchoring import AnchoringStep
from .apply_wcs_adjust import ApplyWCSAdjustStep
from .astrometric_align import AstrometricAlignStep
from .astrometric_catalog import AstrometricCatalogStep
Expand All @@ -46,11 +47,11 @@
from .psf_model import PSFModelStep
from .release import ReleaseStep
from .regress_against_previous import RegressAgainstPreviousStep
from .persistence import PersistenceStep
from .pipeline import PJPipeline
from .psf_matching import PSFMatchingStep
from .single_tile_destripe import SingleTileDestripeStep
from .utils import load_toml
from .anchoring import AnchoringStep
from .psf_matching import PSFMatchingStep

__all__ = [
"AnchoringStep",
Expand All @@ -69,6 +70,7 @@
"MosaicIndividualFieldsStep",
"MoveRawObsStep",
"MultiTileDestripeStep",
"PersistenceStep",
"PJPipeline",
"PSFMatchingStep",
"PSFModelStep",
Expand Down
5 changes: 5 additions & 0 deletions pjpipe/persistence/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .persistence_step import PersistenceStep

__all__ = [
"PersistenceStep",
]
Loading