pylabrobot.resources.hamilton.hamilton_decks.HamiltonDeck.get_carrier_at_track#

HamiltonDeck.get_carrier_at_track(track: int) Carrier#

The carrier covering a track, from where the carriers sit on this deck.

A carrier covers every track from the one it is placed at to compute_right_track_of_carrier, so a six-track carrier at track 15 answers for 15 to 20. This finds it from any of them, which is what lets a caller name a carrier by the track it was put at while the autoload addresses it by its rightmost.

Parameters:

track (int) – any track the carrier covers, counted from 1.

Returns:

The carrier there.

Raises:

ValueError – If no carrier on this deck covers that track.

Return type:

Carrier