AssociationPool
- class jwst.associations.AssociationPool(*args, **kwargs)[source]
Bases:
TableAssociation Pool - built off an astropy table.
An
AssociationPoolis essentially an astropy Table with the following default behaviors:ASCII tables with a default delimiter of
|All values are read in as strings
Methods Summary
read(filename[, delimiter, fmt])Read in a Pool file.
write(*args, **kwargs)Write the pool to a file.
Methods Documentation
- classmethod read(filename, delimiter='|', fmt='ascii', **kwargs)[source]
Read in a Pool file.
- Parameters:
- filenamestr
File path to read in as a table.
- delimiterstr
Character used to delineate columns.
- fmtstr
The format of the input file.
- Returns:
- AssociationPool
The
AssociationPoolrepresentation of the file.