hera_sim.sigchain.CrossCouplingCrosstalk

class hera_sim.sigchain.CrossCouplingCrosstalk(amp=None, dly=None, phs=None, conj=False, amp_jitter=0, dly_jitter=0, rng=None)[source]

Generate cross-coupling xtalk.

Parameters:
  • amp (float, optional) – Mean Amplitude of the reflection gains.

  • dly (float, optional) – Mean delay of the reflection gains.

  • phs (float, optional) – Phase of the reflection gains.

  • conj (bool, optional) – Whether to conjugate the gain.

  • amp_jitter (float, optional) – Final amplitudes are multiplied by a normal variable with mean one, and with standard deviation of amp_jitter.

  • dly_jitter (float, optional) – Final delays are offset by a normal variable with mean zero and standard deviation dly_jitter.

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

Methods

__call__(freqs, autovis, **kwargs)

Copute the cross-correlations.

gen_reflection_coefficient(freqs, amp, dly, phs)

Randomly generate reflection coefficients.

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