Skip to content

Example gallery suggestion: spectrum.average_photon_energy #2194

Closed

Description

@RDaxini

I am wondering what level of interest there is for an example gallery addition demonstrating the use of spectrum.average_photon_energy.

I think an example calculation of the APE of several spectra could help users understand how to interpret the parameter (high values => blue-shifted spectrum, lower values => red-shifted spectrum) as well as guide users on how to use the function of course.

Since we have the spectrum.spctrl2 function to simulate spectra, but the output is not usable directly as an input into spectrum.average_photon_energy, I think some example code linking the two would also be helpful so that users have a guide on how to simulate and characterise spectral distributions all within pvlib-python.

I'd be happy to create this example if the community thinks it'd be useful.

Activity

  1. AdamRJensen commented on Sep 1, 2024

    @AdamRJensen
    Member

    That sounds great to me!

  2. RDaxini commented on Sep 4, 2024

    @RDaxini
    MemberAuthor

    I'll start working on this soon then and create a PR once I have something ready 👍

  3. added this to the v0.11.1 milestone on Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions