Skip to content

Commit 8bfc2cf

Browse files
committed
Update average_photon_energy.py
gallery example ref
1 parent b2164d7 commit 8bfc2cf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/examples/spectrum/average_photon_energy.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# This example demonstrates how to use the
1212
# :py:func:`~pvlib.spectrum.average_photon_energy` function to calculate the
1313
# Average Photon Energy (APE, :math:`\overline{E_\gamma}`) of spectral
14-
# irradiance distributions. This example uses spectral irradiance simulated
14+
# irradiance distributions. This example uses spectral irradiance simulated
1515
# using :py:func:`~pvlib.spectrum.spectrl2`, but the same method is
1616
# applicable to spectral irradiance from any source.
1717
# More information on the SPECTRL2 model can be found in [1]_.
@@ -23,11 +23,10 @@
2323
# To demonstrate this functionality, first we will simulate some spectra
2424
# using :py:func:`~pvlib.spectrum.spectrl2`. In this example, we will simulate
2525
# spectra following a similar method to that which is followed in the
26-
# `Modelling Spectral Irradiance
27-
# <https://pvlib-python.readthedocs.io/en/stable/gallery/spectrum/plot_spectrl2_fig51A.html>`_
28-
# example, which reproduces a figure from [4]_. The first step is to
29-
# import the required packages and define some basic system parameters
30-
# and meteorological conditions.
26+
# :ref:`sphx_glr_gallery_spectrum_plot_spectrl2_fig51A.py` example, which
27+
# reproduces a figure from [4]_. The first step is to import the required
28+
# packages and define some basic system parameters and meteorological
29+
# conditions.
3130

3231
# %%
3332
import pandas as pd

0 commit comments

Comments
 (0)