SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
sourcextractor.config.output Namespace Reference

Functions

def print_output_columns
 
def add_output_column
 

Variables

tuple _used_names = set()
 
list model_fitting_parameter_columns = []
 
list aperture_columns = []
 
dictionary _type_column_map
 

Function Documentation

def sourcextractor.config.output.add_output_column (   name,
  params 
)
Add a new set of columns to the output catalog.

Parameters
----------
name : str
    Name/prefix of the new set of columns
params : list of columns
    List of properties to add to the output with the given name/prefix. They must be subtype
    of one of the known ones: ParameterBase for model fitting, or Aperture for aperture photometry.

Raises
------
ValueError
    If the name has already been used
TypeError
    If any of the parameters are not of a known type (see params)

See Also
--------
aperture.add_aperture_photometry
model_fitting.ParameterBase

Definition at line 54 of file output.py.

def sourcextractor.config.output.print_output_columns (   file = sys.stderr)
Print a human-readable representation of the configured output columns.

Parameters
----------
file : file object
    Where to print the representation. Defaults to sys.stderr

Definition at line 35 of file output.py.

Variable Documentation

dictionary sourcextractor.config.output._type_column_map
Initial value:
1 = {
2  ParameterBase : model_fitting_parameter_columns,
3  Aperture: aperture_columns
4 }

Definition at line 29 of file output.py.

tuple sourcextractor.config.output._used_names = set()

Definition at line 25 of file output.py.

list sourcextractor.config.output.aperture_columns = []

Definition at line 27 of file output.py.

list sourcextractor.config.output.model_fitting_parameter_columns = []

Definition at line 26 of file output.py.