CustomPybsmPerturbImageFactory
- class nrtk.impls.perturb_image_factory.pybsm.CustomPybsmPerturbImageFactory(sensor: PybsmSensor, scenario: PybsmScenario, theta_keys: Sequence[str], thetas: Sequence[Any])
A customized version of _PybsmPerturbImageFactory with preset configurations.
This factory extends _PybsmPerturbImageFactory to provide a specialized setup for creating PybsmPerturber instances with predefined sensor, scenario, and parameter values.
Methods
from_configInstantiates a _PybsmPerturbImageFactory from a configuration dictionary.
get_configReturns the current configuration of the _PybsmPerturbImageFactory instance.
get_default_configProvides the default configuration for _PybsmPerturbImageFactory.
get_implsDiscover and return a set of classes that implement the calling class.
is_usableChecks if the required pybsm module is available.
- __init__(sensor: PybsmSensor, scenario: PybsmScenario, theta_keys: Sequence[str], thetas: Sequence[Any]) None
Initializes the CustomPybsmPerturbImageFactory with sensor, scenario, and parameters.
- Args:
sensor (PybsmSensor): A pyBSM sensor object. scenario (PybsmScenario): A pyBSM scenario object. theta_keys (Sequence[str]): Names of perturbation parameters to vary. thetas (Sequence[Any]): Values to use for each perturbation parameter.