PipeParam

class pipe.PipeParam(name, visit, version=None, outdir=None, sa_range=None, datapath=None, calibpath=None)[source]

Bases: object

PipeParam keeps all parameters relevant for the extraction, with default values given for most.

Initializes parameters with their default values. Name is the subdirectory to datapath where the data for the present visit resideds. Version is the version of the output files. If left to the default None, it will look for the highest existing version and add 1.

Methods Summary

define_filenames()

Finds and stores the filenames of relevant files in the datapath

find_version([limit])

Finds unique version number of output files.

print_params()

Prints the current values of all parameters

str_list()

Returns list of strings for all parameters, where each string states the current value of a parameter

Methods Documentation

define_filenames()[source]

Finds and stores the filenames of relevant files in the datapath

find_version(limit=10000)[source]

Finds unique version number of output files. Checks highest existing version in output directory and adds 1.

print_params()[source]

Prints the current values of all parameters

str_list()[source]

Returns list of strings for all parameters, where each string states the current value of a parameter