y_swathFromY
- Workspace.y_swathFromY(self: pyarts.arts._Workspace, y_swath: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor3]] = self.y_swath, y: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.y, y_f: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.y_f, sensor_response_f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.sensor_response_f_grid, npixel: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index], safe: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 1, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Fills
y_swathwith data fromy.The method basically reshapes
yto fity_swath. It is assumed that swath forms the outermost loop iny. That is, first inyare the data for the first swath etc. The number of pixels per swath must be specified manually by a GIN parameter.To set
sensor_posandsensor_loshaving data organised in swath format, useMatrixReshapeTensor3().Default is to check that
y_fdoes not change between posistions, i.e. that the channel frequencies do not vary.Author(s): Patrick Eriksson
- Parameters:
y_swath (Tensor3, optional) – Three-dimensional version of the measurement vector. See
y_swath, defaults toself.y_swath[OUT]y (Vector, optional) – The measurement vector. See
y, defaults toself.y[IN]y_f (Vector, optional) – The frequencies associated with
y. Seey_f, defaults toself.y_f[IN]sensor_response_f_grid (Vector, optional) – The frequency grid associated with
sensor_response. Seesensor_response_f_grid, defaults toself.sensor_response_f_grid[IN]npixel (Index) – Number of pixels per swath. [IN]
safe (Index, optional) – Flag for checking that channels do not vary in frequency. Defaults to
1[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity, defaults toself.verbosity[IN]