-
Notifications
You must be signed in to change notification settings - Fork 271
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
PSF model #2643
Open
ctoennis
wants to merge
24
commits into
main
Choose a base branch
from
PSFModel
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
PSF model #2643
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e9296fe
adding PSF model
dc46bfb
adding tests and documentation
3a00501
adding changelog, fixing test
c260bfb
renaming changelog
f4c95a3
Moving the psf models to ctapipe.instrument.optics
31a56bb
Updating docustrings
317609b
upate docustring
163b0a9
Updating and renaming from_name method
5b807fe
updating doumentation with comamodel math
3697b35
Fixing issues in documentation
e8d29b8
update to docustrings
9ddc35c
fixing issue in docustring
2a3ce78
removing the update_location method
a1f0b1e
fixing more issues with docustrings
5041e52
Refactoring as `TelescopeComponent`
30233b0
Moving some documentation
6dfc537
Fixing some docustring
148c043
Merge branch 'main' into PSFModel
ctoennis 36c8748
fixing issue in reference bibtex file
3518a8b
implementing reviewer comments
b7d6498
changing tests
4af9bdb
fixing sign issue in psf test parameters
2f9900f
using trait validation
c0f27cf
moving traitlets validate import statement
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
Adds psf models to ``ctapipe.instrument.optics`` with the parent class ``PSFModel`` and a psf model based on pure coma abbaration called ``ComaModel`` | ||
- All psf models have a function ``PSFModel.update_location`` that updates the location in the focal plane where the PSF is evaluated from | ||
- The function ``PSFModel.update_model_parameters`` allows to update the parameters of the PSF model | ||
Adds psf models to ``ctapipe.instrument.optics`` with the parent class ``PSFModel`` and a psf model based on pure coma aberration called ``ComaModel`` | ||
- The function ``PSFModel.pdf`` gives the value of the PSF in a given location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixtures are not really meant for simple data like this.
You could just enter them in the test itself.
Also: why these highly specific values just for a unit test? Wouldn't nice round values in the right order of magnitude be easier on the eyes?