Skip to content

Conversation

@RDaxini
Copy link
Member

@RDaxini RDaxini commented Sep 11, 2024

  • Closes Example gallery suggestion: spectrum.average_photon_energy #2194
  • I am familiar with the contributing guidelines
  • Tests added
  • Updates entries in docs/sphinx/source/reference for API changes.
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

This example demonstrates the use of spectrum.average_photon_energy with the output of spectrum.spectrl2 as an input.

Link to example here

@RDaxini RDaxini marked this pull request as ready for review September 18, 2024 15:27
@RDaxini
Copy link
Member Author

RDaxini commented Sep 18, 2024

Tentatively marking this ready for review. Would be good to get some feedback at this stage.

@RDaxini RDaxini changed the title [WIP] add spectrum.average_photon_energy gallery example add spectrum.average_photon_energy gallery example Sep 18, 2024
Copy link
Contributor

@IoannisSifnaios IoannisSifnaios left a comment

Choose a reason for hiding this comment

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

Looks good @RDaxini! Some minor edits and ideas from my side.

@kandersolar kandersolar added this to the v0.11.1 milestone Sep 23, 2024
@kandersolar kandersolar mentioned this pull request Sep 23, 2024
11 tasks
RDaxini and others added 2 commits September 23, 2024 18:57
Co-authored-by: Ioannis Sifnaios <88548539+IoannisSifnaios@users.noreply.github.com>
@RDaxini
Copy link
Member Author

RDaxini commented Sep 23, 2024

Thanks for the review @IoannisSifnaios
I have now resolved the issues commented so far

Copy link
Member

@kandersolar kandersolar left a comment

Choose a reason for hiding this comment

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

I like it. It's a bit lengthy for a gallery example, but until we have a better place for long-form tutorial content, I think this is fine.

A few suggestions below.

RDaxini and others added 3 commits September 24, 2024 13:28
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
add = variable names remove unused package
gallery example ref
@RDaxini
Copy link
Member Author

RDaxini commented Sep 24, 2024

I have resolved all outstanding issues. Let me know if there's anything else

It's a bit lengthy for a gallery example, but until we have a better place for long-form tutorial content, I think this is fine.

^hmm I had been thinking along similar lines

Copy link
Member

@kandersolar kandersolar left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@echedey-ls echedey-ls left a comment

Choose a reason for hiding this comment

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

LGTM too.

Minor visualization suggestions down below; they ain't blockers.

RDaxini and others added 2 commits September 24, 2024 14:09
Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
update legend Co-Authored-By: Kevin Anderson <57452607+kandersolar@users.noreply.github.com> Co-Authored-By: Echedey Luis <80125792+echedey-ls@users.noreply.github.com>
@RDaxini
Copy link
Member Author

RDaxini commented Sep 24, 2024

@echedey-ls @kandersolar see the last commit, does that look better? Let me know what you think. Happy to revise further if necessary. I appreciate the review/suggestions

@echedey-ls
Copy link
Contributor

Yeah! It super good.

@kandersolar kandersolar merged commit cc700f9 into pvlib:main Sep 24, 2024
@kandersolar
Copy link
Member

Thanks @RDaxini :)

@RDaxini RDaxini deleted the ape_example branch September 24, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants