Skip to content

CartesianGrid2D not having magnitude attribute instantiation #257

@pabloitu

Description

@pabloitu

The class representing a region do not have a explicit self.magnitude attribute. However, this attribute is called in some occasions. For example, in

mag_bins = self.region.magnitudes

In predetermined regions, the attributed is hard-coded into the CartesianGrid2D class.

relm_region.magnitudes = magnitudes

which also should be part of the workflow of the modeler. However, CartesianGrid2D.magnitudes should be declared at the class init, and have the possibility to be declared when instantiating.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions