Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create small class for the contour info #64

Open
prensing opened this issue Feb 23, 2021 · 0 comments
Open

Create small class for the contour info #64

prensing opened this issue Feb 23, 2021 · 0 comments

Comments

@prensing
Copy link
Member

Right now, we use a dictionary to hold a bunch of things about a contour, such as bounding box values, area, etc. This is done so that we don't calculate these values multiple times.

We should create a small class to handle this. For each value, it can see if it has it, if not calculate it, and then return it.

Also, the class can hold extra info such as the reason that contour was cut (eg see 2021 galactic_search).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant