-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add cos- longitudinal profile #207
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
Thanks for this PR! Great to have some added tests. Could you check the small comment below?
tau_fwhm : float (in second) | ||
The Full-Width-Half-Maximum duration of the intensity distribution of the pulse, |
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.
the description of the wavelength
parameter is missing here.
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.
You are right! Thanks for having spotted this!
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.
Looks great now, thanks!
This PR adds a new longitudinal profile: a truncated cosine, defined essentially as:
I called this profile.CosLongitudinalProfile
, but I can rename itCosineLongitudinalProfile
orTruncatedCosineLongitudinalProfile
if you prefer17/12/2024: Upon discussion we agreed to call this profile
CosineLongitudinalProfile