LSST Applications g0fba68d861+05a5e06e50,g1fd858c14a+904f1f4196,g2c84ff76c0+247cd845a2,g2c9e612ef2+f5117f1d55,g35bb328faa+fcb1d3bbc8,g4af146b050+123c2f4d45,g4d2262a081+a9e7a6e053,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g5a012ec0e7+ac98094cfc,g60b5630c4e+f5117f1d55,g67b6fd64d1+dd0349c22b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+2a1aa4536a,g8852436030+d21aad2af4,g89139ef638+dd0349c22b,g8d6b6b353c+f5117f1d55,g9125e01d80+fcb1d3bbc8,g989de1cb63+dd0349c22b,g9f33ca652e+0a580a37dd,g9f7030ddb1+ae84e0d5a5,ga2b97cdc51+f5117f1d55,gabe3b4be73+1e0a283bba,gb1101e3267+1d994e7598,gb58c049af0+f03b321e39,gb89ab40317+dd0349c22b,gcca6a94b71+4ed007ada1,gcf25f946ba+d21aad2af4,gd315a588df+9d9c5ccff1,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+6fce216140,ge278dab8ac+c61fbefdff,ge410e46f29+dd0349c22b,ge82c20c137+e12a08b75a,gf67bdafdda+dd0349c22b,v28.0.2.rc1
LSST Data Management Base Package
Loading...
Searching...
No Matches
lsst.geom._coordinates Namespace Reference

Classes

class  CoordinateExpr
 
class  Extent
 
class  Point
 

Functions

 _coordinateStr (self)
 
 _coordinateRepr (self)
 
 _coordinateReduce (self)
 
 _coordinateIter (self)
 

Variables

 ExtentI = _geom.Extent2I
 
 ExtentD = _geom.Extent2D
 
 PointI = _geom.Point2I
 
 PointD = _geom.Point2D
 
 dimensions
 

Function Documentation

◆ _coordinateIter()

lsst.geom._coordinates._coordinateIter ( self)
protected

Definition at line 45 of file _coordinates.py.

45def _coordinateIter(self):
46 for i in range(self.dimensions):
47 yield self[i]
48
49

◆ _coordinateReduce()

lsst.geom._coordinates._coordinateReduce ( self)
protected

Definition at line 41 of file _coordinates.py.

41def _coordinateReduce(self):
42 return (type(self), tuple(self))
43
44

◆ _coordinateRepr()

lsst.geom._coordinates._coordinateRepr ( self)
protected

Definition at line 36 of file _coordinates.py.

36def _coordinateRepr(self):
37 return "{}({})".format(type(self).__name__,
38 ", ".join(f"{v:0.17g}" if math.isfinite(v) else f"float('{v}')" for v in self))
39
40

◆ _coordinateStr()

lsst.geom._coordinates._coordinateStr ( self)
protected

Definition at line 32 of file _coordinates.py.

32def _coordinateStr(self):
33 return "({})".format(", ".join("%0.5g" % v for v in self))
34
35

Variable Documentation

◆ dimensions

lsst.geom._coordinates.dimensions

Definition at line 46 of file _coordinates.py.

◆ ExtentD

lsst.geom._coordinates.ExtentD = _geom.Extent2D

Definition at line 82 of file _coordinates.py.

◆ ExtentI

lsst.geom._coordinates.ExtentI = _geom.Extent2I

Definition at line 81 of file _coordinates.py.

◆ PointD

lsst.geom._coordinates.PointD = _geom.Point2D

Definition at line 102 of file _coordinates.py.

◆ PointI

lsst.geom._coordinates.PointI = _geom.Point2I

Definition at line 101 of file _coordinates.py.