ImageModifier

class ctapipe.image.modifications.ImageModifier(**kwargs: Any)[source]

Bases: ctapipe.core.component.TelescopeComponent

Component to tune simulated background to overserved NSB values. A differentiation between bright and dim pixels is taking place because this happens at DL1a level and in general the integration window would change for peak-searching extraction algorithms with different background levels introducing a bias to the charge in dim pixels.

The performed steps include: - Smearing of the image (simulating a worse PSF) - Adding poissonian noise (different for bright and dim pixels) - Adding a bias to dim pixel charges (see above)

Attributes Summary

noise_bias_dim_pixels

a TelescopeParameter with Float trait type

noise_correct_bias

a TelescopeParameter with Bool trait type

noise_level_bright_pixels

a TelescopeParameter with Float trait type

noise_level_dim_pixels

a TelescopeParameter with Float trait type

noise_transition_charge

a TelescopeParameter with Float trait type

psf_smear_factor

a TelescopeParameter with Float trait type

rng_seed

An int trait.

Methods Summary

__call__(tel_id, image[, rng])

Call self as a function.

Attributes Documentation

noise_bias_dim_pixels

a TelescopeParameter with Float trait type

noise_correct_bias

a TelescopeParameter with Bool trait type

noise_level_bright_pixels

a TelescopeParameter with Float trait type

noise_level_dim_pixels

a TelescopeParameter with Float trait type

noise_transition_charge

a TelescopeParameter with Float trait type

psf_smear_factor

a TelescopeParameter with Float trait type

rng_seed

An int trait.

Methods Documentation

__call__(tel_id, image, rng=None)[source]

Call self as a function.