LSST Applications g0da5cf3356+25b44625d0,g17e5ecfddb+50a5ac4092,g1c76d35bf8+585f0f68a2,g295839609d+8ef6456700,g2e2c1a68ba+cc1f6f037e,g38293774b4+62d12e78cb,g3b44f30a73+2891c76795,g48ccf36440+885b902d19,g4b2f1765b6+0c565e8f25,g5320a0a9f6+bd4bf1dc76,g56364267ca+403c24672b,g56b687f8c9+585f0f68a2,g5c4744a4d9+78cd207961,g5ffd174ac0+bd4bf1dc76,g6075d09f38+3075de592a,g667d525e37+cacede5508,g6f3e93b5a3+da81c812ee,g71f27ac40c+cacede5508,g7212e027e3+eb621d73aa,g774830318a+18d2b9fa6c,g7985c39107+62d12e78cb,g79ca90bc5c+fa2cc03294,g881bdbfe6c+cacede5508,g91fc1fa0cf+82a115f028,g961520b1fb+2534687f64,g96f01af41f+f2060f23b6,g9ca82378b8+cacede5508,g9d27549199+78cd207961,gb065e2a02a+ad48cbcda4,gb1df4690d6+585f0f68a2,gb35d6563ee+62d12e78cb,gbc3249ced9+bd4bf1dc76,gbec6a3398f+bd4bf1dc76,gd01420fc67+bd4bf1dc76,gd59336e7c4+c7bb92e648,gf46e8334de+81c9a61069,gfed783d017+bd4bf1dc76,v25.0.1.rc3
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction Class Reference
Inheritance diagram for lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction:
lsst.pex.config.config.Config lsst.pex.config.config.ConfigMeta lsst.pipe.tasks.configurableActions.tests.ActionTest1 lsst.pipe.tasks.configurableActions.tests.ActionTest2 lsst.pipe.tasks.configurableActions.tests.ActionTest3 lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction lsst.pipe.tasks.dataFrameActions._actions.AddColumn lsst.pipe.tasks.dataFrameActions._actions.MultiColumnAction lsst.pipe.tasks.dataFrameActions._actions.SingleColumnAction lsst.pipe.tasks.dataFrameActions._actions.CoordColumn lsst.pipe.tasks.dataFrameActions._actions.MagColumnDN lsst.pipe.tasks.dataFrameActions._actions.MagColumnNanoJansky lsst.pipe.tasks.dataFrameActions._actions.NanoJansky lsst.pipe.tasks.dataFrameActions._actions.NanoJanskyErr

Public Member Functions

def __setattr__ (self, attr, value, at=None, label="assignment")
 
Any __call__ (self, *Any args, **Any kwargs)
 

Static Public Attributes

 None
 

Detailed Description

A `ConfigurableAction` is an interface that extends a
`lsst.pex.config.Config` class to include a `__call__` method.

This interface is designed to create an action that can be used at
runtime with state that is determined during the configuration stage. A
single action thus may be assigned multiple times, each with different
configurations.

This allows state to be set and recorded at configuration time,
making future reproduction of results easy.

This class is intended to be an interface only, but because of various
inheritance conflicts this class can not be implemented as an Abstract
Base Class. Instead, the `__call__` method is purely virtual, meaning that
it will raise a `NotImplementedError` when called. Subclasses that
represent concrete actions must provide an override.

Definition at line 33 of file _configurableAction.py.

Member Function Documentation

◆ __call__()

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

◆ __setattr__()

def lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction.__setattr__ (   self,
  attr,
  value,
  at = None,
  label = "assignment" 
)
Set an attribute (such as a field's value).

Notes
-----
Unlike normal Python objects, `~lsst.pex.config.Config` objects are
locked such that no additional attributes nor properties may be added
to them dynamically.

Although this is not the standard Python behavior, it helps to protect
users from accidentally mispelling a field name, or trying to set a
non-existent field.

Reimplemented from lsst.pex.config.config.Config.

Definition at line 58 of file _configurableAction.py.

58 def __setattr__(self, attr, value, at=None, label="assignment"):
59 if attr == 'identity':
60 return object.__setattr__(self, attr, value)
61 return super().__setattr__(attr, value, at, label)
62

Member Data Documentation

◆ None

lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction.None
static

Definition at line 52 of file _configurableAction.py.


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