hera_sim.rfi.Scatter

class hera_sim.rfi.Scatter(scatter_chance=0.0001, scatter_strength=10.0, scatter_std=10.0, rng=None)[source]

Generate random RFI scattered around the waterfall.

Parameters:
  • scatter_chance (float, optional) – Probability that any LST/freq bin will be occupied by RFI.

  • scatter_strength (float, optional) – Mean strength of RFI in any bin (each bin will receive its own random strength).

  • scatter_std (float, optional) – Standard deviation of the RFI strength.

  • rng (np.random.Generator, optional) – Random number generator.

Methods

__call__(lsts, freqs, **kwargs)

Generate the RFI.

get_aliases()

Get all the aliases by which this model can be identified.

get_model(mdl)

Get a model with a particular name (including aliases).

get_models([with_aliases])

Get a dictionary of models associated with this component.

Attributes

attrs_to_pull

Mapping between parameter names and Simulator attributes

is_multiplicative

Whether this systematic multiplies existing visibilities

is_randomized

Whether this systematic contains a randomized component

return_type

Whether the returned value is per-antenna, per-baseline, or the full array