rime#
- pyvisgen.simulation.scan.rime(img: ArrayLike, bas: ArrayLike, lm: ArrayLike, rd: ArrayLike, ra: ArrayLike, dec: ArrayLike, ant_diam: ArrayLike, spw_low: ArrayLike, spw_high: ArrayLike, polarization: str, mode: str, corrupted: bool = False, ft: Literal['default', 'finufft', 'reversed'] = 'default')[source]#
Calculates visibilities using RIME
- Parameters:
- img: torch.tensor
sky distribution
- basdataclass object
baselines dataclass
- lm2d array
lm grid for FOV
- spw_lowfloat
lower wavelength
- spw_highfloat
higher wavelength
- polarizationstr
Type of polarization.
- modestr
Select one of ‘full’, ‘grid’, or ‘dense’ to get all valid baselines, a grid of unique baselines, or dense baselines.
- corruptedbool, optional
If
True, apply beam smearing to the simulated data. Default:False- ftstr, optional
Sets the type of fourier transform used in the RIME. Choose one of
'default','finufft'(Flatiron Institute Nonuniform Fast Fourier Transform) or ‘reversed’. Default:'default'
- Returns:
- 2d tensor
Returns visibility for every baseline