- class neso_fame.coordinates.FrozenCoordSet[C: (Coord, SliceCoord)](_CoordContainer[C], Set[C])
An immutable set of coordinates, evaluating equality to within a tolerance.
Constructors¶
-
FrozenCoordSet(coords: Iterable[C] =
{}
, rtol: float =1e-09
, ...) Initialize self. See help(type(self)) for accurate signature.
Special methods¶
- __contains__(c: object) bool
Check if a coordinate is already stored in this object (within tolerance).
- FrozenCoordSet[]
Represent a PEP 585 generic type
Methods¶
- classmethod empty_slicecoord(...) FrozenCoordSet[SliceCoord]
Construct an empty set for SliceCoords.
- classmethod empty_coord(...) FrozenCoordSet[Coord]
Construct an empty set for Coords.
Properties¶
- property system : CoordinateSystem | None
The coordinate system use by the coordinates stored in this object.
- property contents_type : type[C] | None
-
FrozenCoordSet(coords: Iterable[C] =