API Reference¶
-
tf_fits.image.image_decode_fits(fits_data, header)¶ Function to decode fits binary table
- fits_databyte string
byte string of data (from tf.io.read_file(file_path))
- headerint
header to return
- img_datatf.Tensor
tf.Tensor with dtype tf.float32 of image data
-
tf_fits.bintable.bintable_decode_fits(fits_data, header=1)¶ Function to decode fits binary table
- fits_databyte string
byte string of data (from tf.io.read_file(file_path))
- headerint
header to return
- table_datatf.Tensor
tf.Tensor with dtype tf.float32 of table data
WILL MANGLE ANYTHING THAT IS NOT A PURE REAL NUMBER OR BOOL
As Tensorflow wants a single data type returned, strings, complex numbers, arrays of numbers will be mangled.
-
tf_fits.asciitable.asciitable_decode_fits(fits_data, header=1)¶ Function to decode fits ascii table
- fits_databyte string
byte string of data (from tf.io.read_file(file_path))
- headerint
header to return
- table_datatf.Tensor
tf.Tensor with dtype tf.float32 of table data
WILL MANGLE ANYTHING THAT IS NOT A PURE REAL NUMBER OR BOOL
As Tensorflow wants a single data type returned, strings, complex numbers, arrays of numbers will be mangled.