diff --git a/docs/source/devices/sst-xst.rst b/docs/source/devices/sst-xst.rst index cdb689e457dc2d6abebcfc1391f057135f30b722..092bdda832eb0493f93956f4aec8025410d0bf9b 100644 --- a/docs/source/devices/sst-xst.rst +++ b/docs/source/devices/sst-xst.rst @@ -63,7 +63,7 @@ Typically, ``N_ant == 192``, and ``N_blocks == 136``. The metadata refers to the *blocks*, which are emitted by the FPGAs to represent the XSTs between 12 x 12 consecutive antennas. The following code converts block numbers to the indices of the first antenna pair in a block:: - from common.baselines import baseline_from_index + from tangostationcontrol.common.baselines import baseline_from_index def first_antenna_pair(block_nr: int) -> int: coarse_a, coarse_b = baseline_from_index(block_nr) @@ -71,7 +71,7 @@ The metadata refers to the *blocks*, which are emitted by the FPGAs to represent Conversely, to calculate the block index for an antenna pair ``(a,b)``, use:: - from common.baselines import baseline_index + from tangostationcontrol.common.baselines import baseline_index def block_nr(a: int, b: int) -> int: return baseline_index(a // 12, b // 12)