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::afw::detection::PeakTable::MinimalSchema Struct Reference

Public Member Functions

 MinimalSchema ()
 

Public Attributes

afw::table::Schema schema
 
afw::table::Key
< afw::table::RecordId
id
 
afw::table::Key< float > fx
 
afw::table::Key< float > fy
 
afw::table::Key< int > ix
 
afw::table::Key< int > iy
 
afw::table::Key< float > peakValue
 

Detailed Description

Definition at line 179 of file Peak.h.

Constructor & Destructor Documentation

lsst::afw::detection::PeakTable::MinimalSchema::MinimalSchema ( )

Definition at line 202 of file Peak.cc.

202  {
203  id = schema.addField<afw::table::RecordId>("id", "unique ID");
204  fx = schema.addField<float>("f_x", "subpixel column position", "pixels");
205  fy = schema.addField<float>("f_y", "subpixel row position", "pixels");
206  ix = schema.addField<int>("i_x", "column position of highest pixel", "pixels");
207  iy = schema.addField<int>("i_y", "row position of highest pixel", "pixels");
208  peakValue = schema.addField<float>("peakValue", "value of [smoothed] image at peak position", "dn");
210 }
daf::base::Citizen & getCitizen()
Get the Citizen corresponding to this Schema (SchemaImpl is what inherits from Citizen).
Definition: Schema.h:283
afw::table::Key< float > peakValue
Definition: Peak.h:186
Key< T > addField(Field< T > const &field, bool doReplace=false)
Add a new field to the Schema, and return the associated Key.
void markPersistent(void)
Mark a Citizen as persistent and not destroyed until process end.
Definition: Citizen.cc:253
boost::int64_t RecordId
Type used for unique IDs for records.
Definition: misc.h:21

Member Data Documentation

afw::table::Key<float> lsst::afw::detection::PeakTable::MinimalSchema::fx

Definition at line 182 of file Peak.h.

afw::table::Key<float> lsst::afw::detection::PeakTable::MinimalSchema::fy

Definition at line 183 of file Peak.h.

afw::table::Key<afw::table::RecordId> lsst::afw::detection::PeakTable::MinimalSchema::id

Definition at line 181 of file Peak.h.

afw::table::Key<int> lsst::afw::detection::PeakTable::MinimalSchema::ix

Definition at line 184 of file Peak.h.

afw::table::Key<int> lsst::afw::detection::PeakTable::MinimalSchema::iy

Definition at line 185 of file Peak.h.

afw::table::Key<float> lsst::afw::detection::PeakTable::MinimalSchema::peakValue

Definition at line 186 of file Peak.h.

afw::table::Schema lsst::afw::detection::PeakTable::MinimalSchema::schema

Definition at line 180 of file Peak.h.


The documentation for this struct was generated from the following files: