-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from lsst/tickets/DM-35207
DM-35207: add task to produce updated visit summaries
- Loading branch information
Showing
10 changed files
with
1,006 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,11 @@ | ||
name: lint | ||
|
||
on: | ||
- push | ||
- pull_request | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install | ||
run: pip install -r <(curl https://raw.githubusercontent.com/lsst/linting/main/requirements.txt) | ||
|
||
- name: Run linter | ||
run: flake8 | ||
call-workflow: | ||
uses: lsst/rubin_workflows/.github/workflows/lint.yaml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
....drp.tasks/tasks/lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.. lsst-task-topic:: lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask | ||
|
||
###################### | ||
UpdateVisitSummaryTask | ||
###################### | ||
|
||
``UpdateVisitSummaryTask`` combines updated versions of the various `~lsst.afw.image.Exposure` component objects used to characterize and calibrate a single-epoch image into a single per-visit exposure catalog (``finalVisitSummary``). | ||
It also recomputes summary statistics to reflect these updates. | ||
|
||
.. _lsst.drp.tasks.update_visit_summary.UpdateVisitSummary-summary: | ||
|
||
Processing summary | ||
================== | ||
|
||
``UpdateVisitSummaryTask`` reads in the initial summary dataset of essentially the same form (``visitSummary``), then replaces the object fields of each record with objects loaded from other (often optional) input datasets that contain newer (often final) versions of those objects. | ||
When an object field is replaced, any related summary statistics in the catalog's non-object columns are also recomputed. | ||
|
||
See connection and ``run`` argument documentation for details. | ||
|
||
.. _lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask-api: | ||
|
||
Python API summary | ||
================== | ||
|
||
.. lsst-task-api-summary:: lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask | ||
|
||
.. _lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask-butler: | ||
|
||
Butler datasets | ||
=============== | ||
|
||
When run through the `~lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask.runQuantum` method, ``UpdateVisitSummaryTask`` obtains datasets from the input Butler data repository and persists outputs to the output Butler data repository. | ||
|
||
In this mode, the PSF and aperture correction map are always replaced (since at present all relevant pipelines do recompute these), even though they are optional when calling `lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask.run` directly. | ||
|
||
The main output dataset, ``finalVisitSummary`` (by default), can typically be | ||
used to provide all downstream tasks with the best versions of all calibrations | ||
for each detector. | ||
|
||
.. _lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask-subtasks: | ||
|
||
Retargetable subtasks | ||
===================== | ||
|
||
.. lsst-task-config-subtasks:: lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask | ||
|
||
.. _lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask-configs: | ||
|
||
Configuration fields | ||
==================== | ||
|
||
.. lsst-task-config-fields:: lsst.drp.tasks.update_visit_summary.UpdateVisitSummaryTask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.