libera_utils.spice_utils.SpiceId#

class libera_utils.spice_utils.SpiceId(strid: str, numid: int)#

Bases: NamedTuple

Class that represents a unique identifier in the NAIF SPICE library

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

__init__(*args, **kwargs)#

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

numid

Alias for field number 1

strid

Alias for field number 0

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=sys.maxsize, /)#

Return first index of value.

Raises ValueError if the value is not present.

numid: int#

Alias for field number 1

strid: str#

Alias for field number 0