cellpy.readers.instruments.local_instrument#

This module is used for loading data using the corresponding local yaml file with definitions on how the data should be loaded. This loader is based on the TxtLoader and can only be used to load csv-type files. As a “short-cut”, this loader will be used if you set the instrument to the name of the instrument file (with the .yml extension) e.g. c = cellpy.get(rawfile, instrument="instrumentfile.yml"). The default instrument file is defined in the cellpy configuration file (available through prms.Instruments.custom_instrument_definitions_file).

Module Contents#

Classes#

DataLoader

Class for loading data from txt files.

class DataLoader(instrument_file=None, **kwargs)[source]#

Bases: cellpy.readers.instruments.base.TxtLoader

Inheritance diagram of cellpy.readers.instruments.local_instrument.DataLoader

Class for loading data from txt files.

Parameters:
  • instrument_file – name of the local instrument file.

  • **kwargs – not used.

default_model[source]#
instrument_name = 'local_instrument'[source]#
raw_ext = '*'[source]#
supported_models[source]#
pre_init()[source]#