e_model_packager.nwb.units

NEURON units to NWB units conversion.

Classes

UnitConverter(conversion_rate)

Converts arrays or single values.

class UnitConverter(conversion_rate)

Bases: object

Converts arrays or single values.

convert_array(arr)

Converts the unit of the input array.

convert_value(val)

Converts the unit of the input value.