The driver module provides Drivers for identifying and reading data files.
This allows Hooke to be data-file agnostic. Drivers for various commercial force spectroscopy microscopes are provided, and it’s easy to write your own to handle your lab’s specific format.
List of driver modules and whether they should be included by default. TODO: autodiscovery
Name of the config section which controls driver selection.
Base class for file format drivers.
name identifies your driver and should match the module name.
Methods
default_settings() | |
dependencies | |
is_me | |
logger | |
read |
Return a list of hooke.config.Settings for any configurable driver settings.
The suggested section setting is:
Setting(section=self.setting_section, help=self.__doc__)
Read the file and return True if the filetype can be managed by the driver. Otherwise return False.
Read data from path and return a ([hooke.curve.Data, ...], info) tuple.
The input info dict may contain attributes read from the FilePlaylist.
See hooke.curve.Curve for details.