TabMapIO¶
-
class
ndmapper.io.TabMapIO(filename, idx, label=None, ident=None)[source] [edit on github]¶ Bases:
objectA proxy object for lazily loading/saving AstroPy Table instances. This is similar to
NDMapIO, but instead of being used by anNDDatasub-class to load its own attributes lazily,TabMapIOis used to initialize a normalTableinstance on demand, since the latter doesn’t have several data arrays to load separately and sub-classingTablewould likely prove more complicated with less benefit.At the user level, instances are managed by, and the corresponding table data accessed via,
DataFileobjects. For lazy-loading or saving operations to succeed, the corresponding file must already exist.Attributes
filename ( str) The path to the file from which the data are to be mapped.label ( str) Application-specific label/name identifying the type ofTable(EXTNAME for FITS). Multiple tables of the same type can be distinguished via the ident parameter.ident ( intorstrorNone) Identifier appropriate for the file type (int EXTVER for FITS), which distinguishes this particular instance of a given type of Table within the applicable DataFile.idx ( int) The original array index/number within the host file (extension number for FITS).Attributes Summary
tableMethods Summary
copy()Generate a new instance that shares any already-loaded data but can be re-mapped independently. load_data()load_meta()load_table()Attributes Documentation
-
table¶
Methods Documentation
-
copy()[source] [edit on github]¶ Generate a new instance that shares any already-loaded data but can be re-mapped independently.
-
load_data()[source] [edit on github]¶
-
load_meta()[source] [edit on github]¶
-
load_table()[source] [edit on github]¶
-