isofit.core.isofit¶
-
class
Isofit(config_file, row_column='', level='INFO', logfile=None)[source]¶ Bases:
objectInitialize the Isofit class.
Parameters: - config_file – isofit configuration file in JSON or YAML format
- row_column –
The user can specify
- a single number, in which case it is interpreted as a row
- a comma-separated pair, in which case it is interpreted as a row/column tuple (i.e. a single spectrum)
- a comma-separated quartet, in which case it is interpreted as a row, column range in the order (line_start, line_end, sample_start, sample_end) all values are inclusive.
If none of the above, the whole cube will be analyzed.
- level – logging level (ERROR, WARNING, INFO, DEBUG)
- logfile – file to write output logs to