GridCoords object has many instance attributes that could be made methods decorated with property
#152
Labels
enhancement
New feature or request
Milestone
The
coordinates.GridCoords
class creates an object that stores the dimensions of the image plane grid and many other useful derived grids and quantities. The only real parameters of this class arecell_size
andnpix
---every other quantity is derived.Rather than instantiate these as real instance attributes in
__init__
, it would be more memory efficient to make all of these derived quantities their own methods that could be decorated with@property
. This might even enable some additional error checking in some cases.The text was updated successfully, but these errors were encountered: