Skip to content

GridCoords object has many instance attributes that could be made methods decorated with property #152

@iancze

Description

@iancze

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 are cell_size and npix---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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions