4.1. from_image¶
Creates a Fits object from the given image file
- Fits.from_image(path) Self¶
Creates a
Fitsobject from the given image file.Parameters
pathstrPath of the file as a string.
Returns
FitsA
Fitsobject.
Raises
FileNotFoundErrorRaised when the file does not exist.
4.1.1. Example:¶
from myraflib import Fits
fits = Fits.from_image("PATH/TO/FILE")