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

Plot normalized dispersion #426

Merged
merged 9 commits into from
Sep 13, 2023
Merged

Plot normalized dispersion #426

merged 9 commits into from
Sep 13, 2023

Conversation

JoschD
Copy link
Member

@JoschD JoschD commented Sep 1, 2023

Fixing the plotting of normalized dispersion optics measurements and adding a "labels' feature.

@JoschD JoschD added Type: Bug Something isn't working as it should. Type: Feature A (suggetion for a) new feature or enhancement in functionality. Bugfix labels Sep 1, 2023
@JoschD JoschD self-assigned this Sep 1, 2023
fsoubelet
fsoubelet previously approved these changes Sep 1, 2023
Comment on lines 518 to 520
"""Plotting normalized dispersion function for normalized dispersion.
Normalized dispersion is special, as we only have X.
We therefore plot the delta in the second plot. """
Copy link
Member

Choose a reason for hiding this comment

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

Bit repetitive with "normalized dispersion". For the second plot, do you mean second axis?

Copy link
Contributor

Choose a reason for hiding this comment

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

 """Plotting normalized dispersion function for normalized dispersion.
    Normalized dispersion is special, as we only have horizontal normalized dispersion. 
    We therefore plot the delta of normalized dispersion in the second plot in normalized dispersion plots. """
    ```

Copy link
Contributor

Choose a reason for hiding this comment

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

With second plot, Josch probably means the bottom plot of our standard two-plot windows in the GUI (and two-plot matplotlib outputs), usually showing X / Y, real / imag, or amp / phase.

+1 for using this unused space for the delta.

fsoubelet
fsoubelet previously approved these changes Sep 13, 2023
@codeclimate
Copy link

codeclimate bot commented Sep 13, 2023

Code Climate has analyzed commit d48469e and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 88.8% (50% is the threshold).

This pull request will bring the total coverage in the repository to 85.8% (0.0% change).

View more on Code Climate.

@JoschD JoschD merged commit c929e01 into master Sep 13, 2023
34 checks passed
@JoschD JoschD deleted the plot_normalized_dispersion branch September 13, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as it should. Type: Feature A (suggetion for a) new feature or enhancement in functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants