microcalorimetry.configs

Module for defining configuration objects.

Configuration objects include MeasLike objects, which are objects that can be any of:

  1. An RMEMeas of a particular type of array (e.g. complex 1 port S-parameters)

  2. A file path pointing to a supported file format for that type of array

All MeasLike objects have a load() method, so if you have a function input that is mean to be S11Like (should be either the S11 data or a file containing that data) you can cast it as an S11Like thing and call load() in order to get out the data.

Classes

MeasLike

Describes any object that is like an RMEMeas.

S11Like

Something that looks like a reflection coefficient.

KDCLike

Something that looks like a KDC model.

RFSweepLike

Something that looks like an RFSweep measurement result.

DCSweepLike

Somthing that looks like a DC sweep measurement result.

DictLike

A typed dictionary defined by a JSON schema that can be laoded from a file.

ParsedRFSweep

Dictionary of parsed RFSweep data measured in a microcalorimeter.

ParsedDCSweep

Dictionary of parsed DCSweep data measured in a microcalorimeter.

CorrectionFactorModelInputs

Mapping of all the measurement inputs required for computing a correction factor.

RFSweepParserConfig

Defines settings for parsing output data of a parser.

Module Contents

class microcalorimetry.configs.MeasLike(*data_or_path, attrs=None, parent=None, **data_or_path_key_value_pair)[source]

Bases: rmellipse.utils.GroupSaveable

Describes any object that is like an RMEMeas.

load() → rmellipse.uobjects.RMEMeas[source]

Load data from self.

classmethod try_from(obj: Any)[source]

Try to turn obj into a DataModel, and return obj if it already is.

Parameters:

obj (Any) – Any object you think should already be a data model but you aren’t quite sure.

class microcalorimetry.configs.S11Like(*data_or_path, **data_or_path_kwargs)[source]

Bases: MeasLike

Something that looks like a reflection coefficient.

load() → rmellipse.uobjects.RMEMeas[microcalorimetry.arrays.S11][source]

Load data from self.

class microcalorimetry.configs.KDCLike(*data_or_path, **data_or_path_kwargs)[source]

Bases: MeasLike

Something that looks like a KDC model.

load() → rmellipse.uobjects.RMEMeas[microcalorimetry.arrays.KDCTemInd | microcalorimetry.arrays.KDCTempDep][source]

Load data from self.

class microcalorimetry.configs.RFSweepLike(*data_or_path, **data_or_path_kwargs)[source]

Bases: MeasLike

Something that looks like an RFSweep measurement result.

load() → rmellipse.uobjects.RMEMeas[microcalorimetry.arrays.RFSweep][source]

Load data from self.

class microcalorimetry.configs.DCSweepLike(*data_or_path, **data_or_path_kwargs)[source]

Bases: MeasLike

Somthing that looks like a DC sweep measurement result.

load() → rmellipse.uobjects.RMEMeas[microcalorimetry.arrays.DCSweep][source]

Load data from self.

class microcalorimetry.configs.DictLike(obj: dict | str | pathlib.Path | zip | list[pathlib.Path | str], schema: dict | pathlib.Path)[source]

Bases: dict

A typed dictionary defined by a JSON schema that can be laoded from a file.

Initialize self. See help(type(self)) for accurate signature.

class microcalorimetry.configs.ParsedRFSweep(d: dict | pathlib.Path | zip)[source]

Bases: DictLike

Dictionary of parsed RFSweep data measured in a microcalorimeter.

Initialize self. See help(type(self)) for accurate signature.

class microcalorimetry.configs.ParsedDCSweep(d: dict | pathlib.Path | zip)[source]

Bases: DictLike

Dictionary of parsed DCSweep data measured in a microcalorimeter.

Initialize self. See help(type(self)) for accurate signature.

class microcalorimetry.configs.CorrectionFactorModelInputs(obj: dict | pathlib.Path | zip)[source]

Bases: DictLike

Mapping of all the measurement inputs required for computing a correction factor.

Maps each every combination of reflective and load standard sensor used in a series of correction factor measurement, to the neccesary RF sweep measurements, reflection coefficients, and measurement of the splitter’s port to port mismatch.

Initialize self. See help(type(self)) for accurate signature.

class microcalorimetry.configs.RFSweepParserConfig(obj: dict | pathlib.Path)[source]

Bases: DictLike

Defines settings for parsing output data of a parser.

Initialize self. See help(type(self)) for accurate signature.