SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
sourcextractor.config.model_fitting.DependentParameter Class Reference
Inheritance diagram for sourcextractor.config.model_fitting.DependentParameter:
[legend]
Collaboration diagram for sourcextractor.config.model_fitting.DependentParameter:
[legend]

Public Member Functions

def __init__
 
- Public Member Functions inherited from sourcextractor.config.model_fitting.ParameterBase
def __str__
 

Public Attributes

 func
 
 params
 

Detailed Description

A DependentParameter is not fitted by itself, but its value is derived from another Parameters, whatever their type:
FreeParameter, ConstantParameter, or other DependentParameter

Parameters
----------
func : callable
    A callable that will be called with all the parameters specified in this constructor each time a new
    evaluation is needed.
params : list of ParameterBase
    List of parameters on which this DependentParameter depends.

Examples
--------
>>> flux = get_flux_parameter()
>>> mag = DependentParameter(lambda f: -2.5 * np.log10(f) + args.mag_zeropoint, flux)
>>> add_output_column('mf_mag_' + band, mag)

Definition at line 305 of file model_fitting.py.

Constructor & Destructor Documentation

def sourcextractor.config.model_fitting.DependentParameter.__init__ (   self,
  func,
  params 
)
Constructor.

Definition at line 325 of file model_fitting.py.

Member Data Documentation

sourcextractor.config.model_fitting.DependentParameter.func

Definition at line 330 of file model_fitting.py.

sourcextractor.config.model_fitting.DependentParameter.params

Definition at line 331 of file model_fitting.py.


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