Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Implement some functions that allow to easily access the instrument database #4

Open
ziotom78 opened this issue Jul 14, 2017 · 0 comments

Comments

@ziotom78
Copy link
Collaborator

The basic structure of the instrument database has already been defined and described in the documentation. However, there should be some Python functions that allow to easily extract information without the need to do many nested accesses to the dictionary containing the database, e.g.:

print(params['horn']['I0']['ellipticity']

should become something like

print(get_ellipticity(params, beam='I0')
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant