SourceList_BDP — SFind2D_AT data (image and table).

This module defines the SourceList_BDP class.

class admit.bdp.SourceList_BDP.SourceList_BDP(xmlFile=None, **keyval)[source]

SourceList BDP class.

This class contains a list of sources.

Parameters:

xmlFile : str

Output XML file name.

keyval : dict

Dictionary of keyword:value pairs.

Attributes

table (Table) Instance of the Table class to hold the source information.

Methods

addRow(row) Method to add a row to the table
addimage(image[, name]) Method to add an image to the class
baseDir([path]) Get/set project base directory.
delete([delfiles]) Method to delete the BDP.
get(key) Access an attribute.
getdir() Method to get the subdirectory(s) of the current BDP relative to the ADMIT working directory.
getfiles() Return the filename(s) associated with the basic data in a BDP.
getimage([imtype, name]) Method to get a specific image type from the class
getimagefile([imtype, name]) Method to get the requested image file name from the named instance
haskey(key) Query if a key exists for an BDP.
isequal(bdp) Tests for equality with another BDP.
report() Report BDP properties in human readable format.
setkey([name, key]) Sets keyword value(s).
show() Show the xmlFile name.
update(new_state) Updates BDP state.
write([xmlFile]) Writes the BDP to an XML file.
addRow(row)[source]

Method to add a row to the table

Parameters:

row : array like

the row to add

Returns:

None