SourceList¶
- class mpdaf.sdetect.SourceList(iterable=(), /)[source]¶
Bases:
listHandles a list of
mpdaf.sdetect.Sourceobjects.Methods Summary
from_path(path)Read a SourceList object from the path of a directory containing source files.
write(name[, path, overwrite, fmt])Create the directory and saves all sources files and the catalog file in this folder.
Methods Documentation
- classmethod from_path(path)[source]¶
Read a SourceList object from the path of a directory containing source files.
- Parameters:
- path
str Directory containing
mpdaf.sdetect.Sourcefiles
- path
- write(name, path='.', overwrite=True, fmt='default')[source]¶
Create the directory and saves all sources files and the catalog file in this folder.
path/name.fits: catalog file (In FITS table, the maximum number of fields is 999. In this case, the catalog is saved as an ascci table).path/name/nameNNNN.fits: source file (NNNN corresponds to the ID of the source)