AssociationPool¶
-
class
jwst.associations.
AssociationPool
(data=None, masked=False, names=None, dtype=None, meta=None, copy=True, rows=None, copy_indices=True, units=None, descriptions=None, **kwargs)[source]¶ Bases:
astropy.table.table.Table
Association Pool
An
AssociationPool
is 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, format])Read in a Pool file
write
(*args, **kwargs)Write the pool to a file.
Methods Documentation
-
classmethod
read
(filename, delimiter='|', format='ascii', **kwargs)[source]¶ Read in a Pool file
- Parameters
- Returns
The
AssociationPool
representation of the file.- Return type
-
write
(*args, **kwargs)[source]¶ Write the pool to a file.
- Parameters
output (str, file-like) – The output file or file-like object.
delimiter (str) – The string to use to delineate columns. Default is ‘|’.
format (str) – The format the file should be written in. Default is ‘ascii’.
args (obj) – Other parameters that
astropy.io.ascii.write
can accept.kwargs (obj) – Other parameters that
astropy.io.ascii.write
can accept.