lsst.pipe.tasks  21.0.0-150-g4dbbe83c+ead6db4ed9
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr Class Reference
Inheritance diagram for lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr:
lsst.pipe.tasks.dataFrameActions._actions.SingleColumnAction lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction lsst::pex::config::config::Config lsst::pex::config::config::ConfigMeta

Public Member Functions

def columns (self)
 
def __call__ (self, df, flux_column=None, flux_mag_err=None, **kwargs)
 
def __call__ (self, df, **kwargs)
 
Any __call__ (self, *args, **kwargs)
 
None __init_subclass__ (cls, **kwargs)
 
def __init_subclass__ (cls, **kwargs)
 
def __iter__ (self)
 
def keys (self)
 
def values (self)
 
def items (self)
 
def iteritems (self)
 
def itervalues (self)
 
def iterkeys (self)
 
def __contains__ (self, name)
 
def __new__ (cls, *args, **kw)
 
def __reduce__ (self)
 
def setDefaults (self)
 
def update (self, **kw)
 
def load (self, filename, root="config")
 
def loadFromStream (self, stream, root="config", filename=None)
 
def save (self, filename, root="config")
 
def saveToStream (self, outfile, root="config", skipImports=False)
 
def freeze (self)
 
def toDict (self)
 
def names (self)
 
def validate (self)
 
def formatHistory (self, name, **kwargs)
 
def __setattr__ (self, attr, value, at=None, label="assignment")
 
def compare (self, other, shortcut=True, rtol=1E-8, atol=1E-8, output=None)
 

Static Public Attributes

 flux_mag_err = Field(doc="Error in the magnitude zeropoint", dtype=float, default=0)
 
 flux_action
 
 column = Field(doc="Column to load for this action", dtype=str, optional=False)
 
 cache
 
 cacheArgs
 

Detailed Description

Definition at line 84 of file _actions.py.

Member Function Documentation

◆ __call__() [1/3]

Any lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction.__call__ (   self,
args,
**  kwargs 
)
inherited

Definition at line 48 of file _configurableAction.py.

◆ __call__() [2/3]

def lsst.pipe.tasks.dataFrameActions._actions.SingleColumnAction.__call__ (   self,
  dataFrame,
**  kwargs 
)
inherited
This method should return the result of an action performed on a
dataframe

Reimplemented from lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction.

Reimplemented in lsst.pipe.tasks.dataFrameActions._actions.NanoJansky.

Definition at line 26 of file _actions.py.

◆ __call__() [3/3]

def lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr.__call__ (   self,
  df,
  flux_column = None,
  flux_mag_err = None,
**  kwargs 
)

Definition at line 93 of file _actions.py.

◆ __init_subclass__()

None lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction.__init_subclass__ (   cls,
**  kwargs 
)
inherited

Definition at line 21 of file _baseDataFrameActions.py.

◆ columns()

def lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr.columns (   self)
This property should return an iterable of columns needed by this action

Reimplemented from lsst.pipe.tasks.dataFrameActions._actions.SingleColumnAction.

Definition at line 90 of file _actions.py.

Member Data Documentation

◆ cache

lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction.cache
staticinherited
Initial value:
= Field(doc="Controls if the results of this action should be cached,"
" only works on frozen actions",
dtype=bool, default=False)

Definition at line 14 of file _baseDataFrameActions.py.

◆ cacheArgs

lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction.cacheArgs
staticinherited
Initial value:
= ListField(doc="If cache is True, this is a list of argument keys that will be used to "
"compute the cache key in addition to the DataFrameId",
dtype=str, optional=True)

Definition at line 17 of file _baseDataFrameActions.py.

◆ column

lsst.pipe.tasks.dataFrameActions._actions.SingleColumnAction.column = Field(doc="Column to load for this action", dtype=str, optional=False)
staticinherited

Definition at line 20 of file _actions.py.

◆ flux_action

lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr.flux_action
static
Initial value:
= ConfigurableActionField(doc="Action to use if flux is not provided to the call method",
default=NanoJansky, dtype=DataFrameAction)

Definition at line 86 of file _actions.py.

◆ flux_mag_err

lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr.flux_mag_err = Field(doc="Error in the magnitude zeropoint", dtype=float, default=0)
static

Definition at line 85 of file _actions.py.


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