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

Fix Slit Dispersion, add automatic tests #270

Merged
merged 16 commits into from Jun 4, 2021

Conversation

CorentinGrimaldi
Copy link
Collaborator

@CorentinGrimaldi CorentinGrimaldi commented May 12, 2021

Description

Fix slit dispersion, doing nothing for now (except in plot)
Rework of cut_slices(), tested in automatic test
Simplification of convolve_with_slit() which now only convolve ! (Unused option removed)
Fix apply_slit() with slit_dispersion
Make plot_slit() and apply_slit() coherent (same threshold used for cut_slices() when slit dispersion is specified)
Fix normalize() wrong unit for certain cases
Add automatic test for apply_slit() with slit_dispersion

Finished!

@codecov-commenter
Copy link

codecov-commenter commented May 12, 2021

Codecov Report

Merging #270 (5d3e854) into develop (7a92477) will decrease coverage by 0.22%.
The diff coverage is 86.66%.

@@             Coverage Diff             @@
##           develop     #270      +/-   ##
===========================================
- Coverage    75.27%   75.05%   -0.23%     
===========================================
  Files          119      119              
  Lines        14176    14182       +6     
===========================================
- Hits         10671    10644      -27     
- Misses        3505     3538      +33     

@erwanp
Copy link
Member

erwanp commented May 27, 2021

@CorentinGrimaldi all good or still wip?

@erwanp erwanp added this to the 0.9.30 milestone May 29, 2021
@erwanp erwanp mentioned this pull request May 29, 2021
Copy link
Member

@erwanp erwanp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@erwanp erwanp merged commit 2e49946 into radis:develop Jun 4, 2021
@CorentinGrimaldi CorentinGrimaldi changed the title Fix Slit Dispersion, add test and clean plot_slit Fix Slit Dispersion, add test Jun 4, 2021
@CorentinGrimaldi CorentinGrimaldi changed the title Fix Slit Dispersion, add test Fix Slit Dispersion, add automatic tests Jun 4, 2021
@CorentinGrimaldi CorentinGrimaldi deleted the Fix_slit_dispersion branch June 4, 2021 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants