SciFiReaders.readers.generic.ImageReader¶
- class SciFiReaders.readers.generic.ImageReader(*args, **kwargs)[source]¶
Translates data from an image file to an HDF5 file
- Parameters
file_path (str) – Path to the file that needs to be read
Notes
This method will check to make sure that the provided file_path is indeed a string and a valid file path.
Consider calling
can_read()
within__init__()
for validating the provided file
- Raises
- __init__(*args, **kwargs)[source]¶
- Parameters
file_path (str) – Path to the file that needs to be read
Notes
This method will check to make sure that the provided file_path is indeed a string and a valid file path.
Consider calling
can_read()
within__init__()
for validating the provided file
- Raises
Methods
__init__
(*args, **kwargs)- param file_path
Path to the file that needs to be read
can_read
()Tests whether or not the provided file has a .ndata extension
read
([bin_factor, interp_func, normalize])Translates the image in the provided file into a USID HDF5 file