lsst.pipe.tasks  21.0.0-138-gbb2e3e44+29b57fbad2
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.dataFrameActions._actions.CoordColumn Class Reference
Inheritance diagram for lsst.pipe.tasks.dataFrameActions._actions.CoordColumn:
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 __call__ (self, df)
 
Iterable[str] columns (self)
 
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

 inRadians = Field(doc="Return the column in radians if true", default=True, dtype=bool)
 
 column = Field(doc="Column to load for this action", dtype=str, optional=False)
 
 cache
 
 cacheArgs
 

Detailed Description

Definition at line 38 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.CoordColumn.__call__ (   self,
  df 
)

Definition at line 41 of file _actions.py.

◆ __call__() [3/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.

◆ __init_subclass__()

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

Definition at line 21 of file _baseDataFrameActions.py.

◆ columns()

Iterable[str] lsst.pipe.tasks.dataFrameActions._actions.SingleColumnAction.columns (   self)
inherited
This property should return an iterable of columns needed by this action

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

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

Definition at line 23 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.

◆ inRadians

lsst.pipe.tasks.dataFrameActions._actions.CoordColumn.inRadians = Field(doc="Return the column in radians if true", default=True, dtype=bool)
static

Definition at line 39 of file _actions.py.


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