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

Implement Astropy Quantities #76

Open
aphearin opened this issue Jun 11, 2015 · 1 comment
Open

Implement Astropy Quantities #76

aphearin opened this issue Jun 11, 2015 · 1 comment

Comments

@aphearin
Copy link
Contributor

Mostly this will only impact the halo catalog and merger tree dtype formatting.

@aphearin
Copy link
Contributor Author

Give users the option to write supported model components that either do or do not work with Quantities. Try to implement this via a class-level use_quantities attribute. If set to False, the composite-model decorator will ensure that an ndarray view of the columns are passed to the component, and then the component model can safely perform arbitrary operations on the columns; if set to True, the passed columns will be Quantities, and so the component model will need to make columns dimensionless if they want to perform nonlinear transformations on them. Suggestion due to @eteq.

@aphearin aphearin added this to the v0.2 milestone Mar 8, 2016
@aphearin aphearin modified the milestones: v0.3, v0.2 May 17, 2016
@aphearin aphearin modified the milestones: next-release, v0.3 Jun 26, 2016
@aphearin aphearin modified the milestones: next-release, v1.0 Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant