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

Finish NcmCalc framework #37

Open
vitenti opened this issue Apr 17, 2020 · 0 comments
Open

Finish NcmCalc framework #37

vitenti opened this issue Apr 17, 2020 · 0 comments
Assignees

Comments

@vitenti
Copy link
Contributor

vitenti commented Apr 17, 2020

We should have an unified framework for computation objects. The idea is that every object that computes physical observables using models must adhere to the NcmCalc framework.

NcmCalc must be implemented as a GInterface, that way, computation objects within an hierarchy (NcRecomb for instance) can implement this interface. Currently, these objects implement a _prepare() and a _prepare_if_needed() methods, that perform all necessary work necessary to evaluate the observables. The _prepare* methods must handle all errors such that once a prepare function is called with success, it is always safe to call any _eval* method.

There is an initial implementation of NcmCalc that needs review.

@vitenti vitenti self-assigned this Apr 17, 2020
@vitenti vitenti added this to To do in NumCosmo 1.0 via automation Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
NumCosmo 1.0
  
To do
Development

No branches or pull requests

1 participant