SourceXtractorPlusPlus  0.15
Please provide a description of the project.
Functions | Variables
sourcextractor.config.output Namespace Reference

Functions

def print_output_columns (file=sys.stderr)
 
def add_output_column (name, params)
 

Variables

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

Function Documentation

◆ add_output_column()

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.

◆ print_output_columns()

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

◆ _type_column_map

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

Definition at line 29 of file output.py.

◆ _used_names

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

Definition at line 25 of file output.py.

◆ aperture_columns

list sourcextractor.config.output.aperture_columns = []

Definition at line 27 of file output.py.

◆ model_fitting_parameter_columns

list sourcextractor.config.output.model_fitting_parameter_columns = []

Definition at line 26 of file output.py.