habitat_sim.sensors.noise_models.SpeckleNoiseModel class

Static methods

def is_valid_sensor_type(sensor_type: sensor.SensorType) -> bool


def apply(self, image: numpy.ndarray) -> numpy.ndarray
Alias of simulate() to conform to base-class and expected API
def simulate(self, image: numpy.ndarray) -> numpy.ndarray

Special methods

def __attrs_post_init__(self) -> None
def __call__(self, sensor_observation: typing.Union[numpy.ndarray, torch.Tensor]) -> typing.Union[numpy.ndarray, torch.Tensor]
Alias of apply()
def __init__(self, *, gpu_device_id: typing.Optional[int] = None, intensity_constant: float = 0.2, mean: int = 0, sigma: int = 1, impl: typing.Optional[habitat_sim.sensors.noise_models.speckle_noise_model.SpeckleNoiseModelCPUImpl] = None) -> None
Method generated by attrs for class SpeckleNoiseModel.


intensity_constant: float get set del
mean: int get set del
sigma: int get set del
gpu_device_id: typing.Optional[int] get set del