LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst.meas.base.applyApCorr.ApCorrInfo Class Reference

Catalog field names and keys needed to aperture correct a particular flux. More...

Inheritance diagram for lsst.meas.base.applyApCorr.ApCorrInfo:

Public Member Functions

def __init__
 Construct an ApCorrInfo and add fields to the schema. More...
 

Public Attributes

 name
 
 fluxName
 
 fluxSigmaName
 
 fluxKey
 
 fluxSigmaKey
 
 fluxFlagKey
 
 apCorrKey
 
 apCorrSigmaKey
 
 apCorrFlagKey
 

Detailed Description

Catalog field names and keys needed to aperture correct a particular flux.

Definition at line 41 of file applyApCorr.py.

Constructor & Destructor Documentation

def lsst.meas.base.applyApCorr.ApCorrInfo.__init__ (   self,
  schema,
  name 
)

Construct an ApCorrInfo and add fields to the schema.

Parameters
[in,out]schemasource catalog schema; three fields are used to generate keys:
  • {name}_flux
  • {name}_fluxSigma
  • {name}_fluxFlag three fields are added:
  • {name}_apCorr
  • {name}_apCorrSigma
  • {name}_flag_apCorr
[in]namefield name prefix for flux needing aperture correction, e.g. "base_PsfFlux"

ApCorrInfo has the following attributes:

  • name: field name prefix for flux needing aperture correction
  • fluxName: name of flux field
  • fluxSigmaName: name of flux sigma field
  • fluxKey: key to flux field
  • fluxSigmaKey: key to flux sigma field
  • fluxFlagKey: key to flux flag field
  • apCorrKey: key to new aperture correction field
  • apCorrSigmaKey: key to new aperture correction sigma field
  • apCorrFlagKey: key to new aperture correction flag field

Definition at line 44 of file applyApCorr.py.

44 
45  def __init__(self, schema, name):
46  """!Construct an ApCorrInfo and add fields to the schema
47 
48  @param[in,out] schema source catalog schema;
49  three fields are used to generate keys:
50  - {name}_flux
51  - {name}_fluxSigma
52  - {name}_fluxFlag
53  three fields are added:
54  - {name}_apCorr
55  - {name}_apCorrSigma
56  - {name}_flag_apCorr
57  @param[in] name field name prefix for flux needing aperture correction, e.g. "base_PsfFlux"
58 
59  ApCorrInfo has the following attributes:
60  - name: field name prefix for flux needing aperture correction
61  - fluxName: name of flux field
62  - fluxSigmaName: name of flux sigma field
63  - fluxKey: key to flux field
64  - fluxSigmaKey: key to flux sigma field
65  - fluxFlagKey: key to flux flag field
66  - apCorrKey: key to new aperture correction field
67  - apCorrSigmaKey: key to new aperture correction sigma field
68  - apCorrFlagKey: key to new aperture correction flag field
69  """
70  self.name = name
71  self.fluxName = name + "_flux"
72  self.fluxSigmaName = name + "_fluxSigma"
73  self.fluxKey = schema.find(self.fluxName).key
74  self.fluxSigmaKey = schema.find(self.fluxSigmaName).key
75  self.fluxFlagKey = schema.find(name + "_flag").key
76  self.apCorrKey = schema.addField(
77  name + "_apCorr",
78  doc = "aperture correction applied to %s" % (name,),
79  type = float,
80  )
81  self.apCorrSigmaKey = schema.addField(
82  name + "_apCorrSigma",
83  doc = "aperture correction applied to %s" % (name,),
84  type = float,
85  )
86  self.apCorrFlagKey = schema.addField(
87  name + "_flag_apCorr",
88  doc = "set if unable to aperture correct %s" % (name,),
89  type = "Flag",
90  )
def __init__
Construct an ApCorrInfo and add fields to the schema.
Definition: applyApCorr.py:44

Member Data Documentation

lsst.meas.base.applyApCorr.ApCorrInfo.apCorrFlagKey

Definition at line 85 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.apCorrKey

Definition at line 75 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.apCorrSigmaKey

Definition at line 80 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.fluxFlagKey

Definition at line 74 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.fluxKey

Definition at line 72 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.fluxName

Definition at line 70 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.fluxSigmaKey

Definition at line 73 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.fluxSigmaName

Definition at line 71 of file applyApCorr.py.

lsst.meas.base.applyApCorr.ApCorrInfo.name

Definition at line 69 of file applyApCorr.py.


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