-
Intall Astropyp & datapyp (pip install)
-
Use package astropyp.wrappers.astromatic.save_table_as_ldac: https://github.com/fred3m/astropyp/blob/master/astropyp/wrappers/astromatic/ldac.py
-
For data table: http://docs.astropy.org/en/stable/table/
-
About Theli: SExtractor can save ldac (LDAC_IMHEAD - LDAC_OBJECTS).
Then add/modify data/format: http://docs.astropy.org/en/stable/io/fits/
Table data: http://docs.astropy.org/en/stable/io/fits/usage/table.html
FITS: http://www.astro.sunysb.edu/fwalter/AST443/fits.html