yt.visualization.fixed_resolution_filters module¶
- class yt.visualization.fixed_resolution_filters.FixedResolutionBufferFilter(*args, **kwargs)[source]¶
Bases:
ABC
This object allows to apply data transformation directly to
yt.visualization.fixed_resolution.FixedResolutionBuffer
- class yt.visualization.fixed_resolution_filters.FixedResolutionBufferGaussBeamFilter(nbeam=30, sigma=2.0)[source]¶
Bases:
FixedResolutionBufferFilter
This filter convolves
yt.visualization.fixed_resolution.FixedResolutionBuffer
with 2d gaussian that is ‘nbeam’ pixels wide and has standard deviation ‘sigma’.
- class yt.visualization.fixed_resolution_filters.FixedResolutionBufferWhiteNoiseFilter(bg_lvl=None)[source]¶
Bases:
FixedResolutionBufferFilter
This filter adds white noise with the amplitude “bg_lvl” to
yt.visualization.fixed_resolution.FixedResolutionBuffer
. If “bg_lvl” is not present, 10th percentile of the FRB’s value is used instead.