-
Notifications
You must be signed in to change notification settings - Fork 272
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
+264
−1
Merged
PSF model #2643
Changes from 1 commit
Commits
Show all changes
36 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
c3c0af8
Make psf work on nd inputs with units
maxnoe f8aef5d
Improve notation with respect to paper, fix polyval evaluation (wrong…
maxnoe cc2457b
More changes to bring notation closer to the paper
maxnoe 5a2ba72
Merge remote-tracking branch 'origin/main' into psf_model_fixes
maxnoe 7245934
Enforcing the edge case of the PSF model
mexanick 3cb33f3
Merge pull request #2689 from cta-observatory/psf_model_fixes
maxnoe 7043868
Fixing division by 0 warning at the camera center
mexanick f2f1e33
Exposing PSFModel and ComaPSFModel at the ``instrument`` module level
mexanick f0a686e
Fix formulas in doc
mexanick b01fa77
Update docs, remove redundant constructor
mexanick 16562dd
Update docstrings addressing @Tobychev comments
mexanick 3a92486
Fix SonarQube-detected code smells
mexanick 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?