lsst.pipe.tasks g8b9e2231ea+fa07cb600e
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
lsst.pipe.tasks.processCcd.ProcessCcdTask Class Reference

Assemble raw data, fit the PSF, detect and measure, and fit WCS and zero-point. More...

Inheritance diagram for lsst.pipe.tasks.processCcd.ProcessCcdTask:

Public Member Functions

def __init__ (self, butler=None, psfRefObjLoader=None, astromRefObjLoader=None, photoRefObjLoader=None, **kwargs)
 
def runDataRef (self, sensorRef)
 

Static Public Attributes

ProcessCcdConfig ConfigClass = ProcessCcdConfig
 
pipeBase RunnerClass = pipeBase.ButlerInitializedTaskRunner
 

Protected Member Functions

def _makeArgumentParser (cls)
 Create and return an argument parser.
 

Static Protected Attributes

str _DefaultName = "processCcd"
 

Detailed Description

Assemble raw data, fit the PSF, detect and measure, and fit WCS and zero-point.

Contents

Description

Perform the following operations:

Task initialisation

Invoking the Task

This task is primarily designed to be run from the command line.

The main method is runDataRef, which takes a single butler data reference for the raw input data.

Configuration parameters

See ProcessCcdConfig

Debug variables

ProcessCcdTask has no debug output, but its subtasks do.

A complete example of using ProcessCcdTask

The following commands will process all raw data in obs_test's data repository. Note: be sure to specify an --output that does not already exist:

setup obs_test
setup pipe_tasks
processCcd.py $OBS_TEST_DIR/data/input --output processCcdOut --id

The data is read from the small repository in the obs_test package and written ./processCcdOut (or whatever output you specified). Specifying --id with no values processes all data. Add the option --help to see more options.

Definition at line 78 of file processCcd.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.processCcd.ProcessCcdTask.__init__ (   self,
  butler = None,
  psfRefObjLoader = None,
  astromRefObjLoader = None,
  photoRefObjLoader = None,
**  kwargs 
)
Parameters
[in]butlerThe butler is passed to the refObjLoader constructor in case it is needed. Ignored if the refObjLoader argument provides a loader directly.
[in]psfRefObjLoaderAn instance of LoadReferenceObjectsTasks that supplies an external reference catalog for image characterization. May be None if the desired loader can be constructed from the butler argument or all steps requiring a catalog are disabled.
[in]astromRefObjLoaderAn instance of LoadReferenceObjectsTasks that supplies an external reference catalog for astrometric calibration. May be None if the desired loader can be constructed from the butler argument or all steps requiring a reference catalog are disabled.
[in]photoRefObjLoaderAn instance of LoadReferenceObjectsTasks that supplies an external reference catalog for photometric calibration. May be None if the desired loader can be constructed from the butler argument or all steps requiring a reference catalog are disabled.
[in,out]kwargsother keyword arguments for lsst.pipe.base.CmdLineTask

Definition at line 137 of file processCcd.py.

Member Function Documentation

◆ _makeArgumentParser()

def lsst.pipe.tasks.processCcd.ProcessCcdTask._makeArgumentParser (   cls)
protected

Create and return an argument parser.

    @param[in] cls      the class object
    @return the argument parser for this task.

    This override is used to delay making the data ref list until the dataset type is known;
    this is done in @ref parseAndRun.

Definition at line 209 of file processCcd.py.

◆ runDataRef()

def lsst.pipe.tasks.processCcd.ProcessCcdTask.runDataRef (   self,
  sensorRef 
)
Process one CCD

The sequence of operations is:
- remove instrument signature
- characterize image to estimate PSF and background
- calibrate astrometry and photometry

@param sensorRef: butler data reference for raw data

@return pipe_base Struct containing these fields:
- charRes: object returned by image characterization task; an lsst.pipe.base.Struct
    that will include "background" and "sourceCat" fields
- calibRes: object returned by calibration task: an lsst.pipe.base.Struct
    that will include "background" and "sourceCat" fields
- exposure: final exposure (an lsst.afw.image.ExposureF)
- background: final background model (an lsst.afw.math.BackgroundList)

Definition at line 163 of file processCcd.py.

Member Data Documentation

◆ _DefaultName

str lsst.pipe.tasks.processCcd.ProcessCcdTask._DefaultName = "processCcd"
staticprotected

Definition at line 135 of file processCcd.py.

◆ ConfigClass

ProcessCcdConfig lsst.pipe.tasks.processCcd.ProcessCcdTask.ConfigClass = ProcessCcdConfig
static

Definition at line 133 of file processCcd.py.

◆ RunnerClass

pipeBase lsst.pipe.tasks.processCcd.ProcessCcdTask.RunnerClass = pipeBase.ButlerInitializedTaskRunner
static

Definition at line 134 of file processCcd.py.


The documentation for this class was generated from the following file: