Hall module

Hall measurement.

Induced voltage perpendicular to both current and magnetic field.

physicslab.experiment.hall.process(data, thickness=None, sheet_resistance=None)[source]

Bundle method.

Parameter data must include voltage, current and magnetic field. See Columns for details and column names.

The optional parameters allows to calculate additional quantities: concentration and mobility.

Supplying None for data returns pandas.Series of the same columns with values being units.

Parameters
  • data (pandas.DataFrame or None) – Measured data. If None, return units instead

  • thickness (float, optional) – Sample dimension perpendicular to the plane marked by the electrical contacts, defaults to None

  • sheet_resistance (float, optional) – Defaults to None

Returns

Derived quantities listed in Columns.process() or units

Return type

pandas.Series

class physicslab.experiment.hall.Columns[source]

Bases: physicslab.utility._ColumnsBase

Column names.

classmethod mandatory()[source]

Get the current mandatory column names.

Return type

set(str)

classmethod process()[source]

Get the current values of the process() output column names.

Return type

lits(str)

class physicslab.experiment.hall.Measurement(data)[source]

Hall measurement.

Parameters

data (pandas.DataFrame) – Voltage-current-magnetic field triples.

Raises

ValueError – If data is missing a mandatory column

analyze()[source]

Compute sheet density and determine conductivity type.

Returns

Sheet density, conductivity type, fit residual

Return type

tuple(float, str, float)

physicslab.experiment.hall.plot(data_list, results)[source]

Plot all the measurements in a grid

Parameters
Returns

Same objects as from matplotlib.pyplot.subplots()

Return type

tuple[Figure, numpy.ndarray[Axes]]