drop_uts_in_sector#

sionna.phy.channel.drop_uts_in_sector(batch_size: int, num_ut: int, min_bs_ut_dist: float, isd: float, bs_height: float = 0.0, ut_height: float = 0.0, precision: str | None = None, device: str | None = None) torch.Tensor[source]#

Sample UT locations uniformly at random within a sector

The sector from which UTs are sampled is shown in the following figure. The BS is assumed to be located at the origin (0,0) of the coordinate system.

../../../../_images/drop_uts_in_sector.png
Parameters:
  • batch_size (int) – Batch size

  • num_ut (int) – Number of UTs to sample per batch example

  • min_bs_ut_dist (float) – Minimum BS-UT distance [m]

  • isd (float) – Inter-site distance, i.e., the distance between two adjacent BSs [m]

  • bs_height (float) – BS height, i.e., distance between the BS and the X-Y plane [m]. Defaults to 0.0.

  • ut_height (float) – UT height, i.e., distance between the UT and the X-Y plane [m]. Defaults to 0.0.

  • precision (str | None) – Precision used for internal calculations and outputs. If set to None, precision is used.

  • device (str | None) – Device for computation. If None, device is used.

Outputs:

ut_loc – [batch_size, num_ut, 2], torch.float. UT locations in the X-Y plane.