idmtools_calibra.resamplers.calibration_point module#
- class idmtools_calibra.resamplers.calibration_point.CalibrationPoint(parameters=None, likelihood=None)[source]#
Bases:
object
- DYNAMIC = 'dynamic'#
- STATIC = 'static'#
- ALL = 'all'#
- PARAMETER_TYPES = ['dynamic', 'static', 'all']#
- LIST = 'list'#
- SERIES = 'series'#
- NUMPY = 'numpy'#
- to_value_dict(parameter_type=None, include_likelihood=False)[source]#
Return the dict of dict containing {parameter_name:value} for this CalibrationPoint
- get_attribute(key, parameter_type=None, as_type=None)[source]#
Returns the specified attribute of each CalibrationParameter as a list, ordered by parameter
- Parameters:
key –
parameter_type –
as_type –
Returns:
- property parameter_names#
- get_parameter(name)[source]#
Relies on their being exactly one parameter with the given name.
- Parameters:
name –
Returns:
- to_dict()[source]#
Converts CalibrationPoint objects to a dictionary. Useful e.g. for dumping to a json file.
- Returns:
a dict containing all needed information for recreating a CalibrationPoint object via from_dict()
- class idmtools_calibra.resamplers.calibration_point.CalibrationParameter(name, min, max, value, mapTo, dynamic, guess)[source]#
Bases:
object