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_config

Instantiates a _PybsmPerturbImageFactory from a configuration dictionary.

get_config

Returns the current configuration of the _PybsmPerturbImageFactory instance.

get_default_config

Retrieves the default configuration for _PybsmPerturbImageFactory.

get_impls

Discover and return a set of classes that implement the calling class.

is_usable

Checks 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.

See https://pybsm.readthedocs.io/en/latest/explanation.html for image formation concepts and parameter details.

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.