efficiency_vs_angle_0deg#

esis.flights.f1.optics.gratings.efficiencies.efficiency_vs_angle_0deg()#

The total (coating + groove) efficiency of the ESIS diffraction gratings as a function of output angle as measured by Eric Gullikson at an input angle of 0 degrees.

Examples

Plot the efficiency vs output angle measurements using matplotlib.

import matplotlib.pyplot as plt
import named_arrays as na
from esis.flights.f1.optics import gratings

# Load the efficiency measurements
efficiency = gratings.efficiencies.efficiency_vs_angle_0deg()

# Plot the measurements using matplotlib
fig, ax = plt.subplots()
na.plt.plot(
    efficiency.inputs.direction.output,
    efficiency.outputs,
    ax=ax,
    label=efficiency.inputs.direction.input,
);
ax.set_xlabel(f"output angle ({efficiency.inputs.direction.input.unit:latex_inline})");
ax.set_ylabel(f"efficiency");
ax.legend();
../_images/esis.flights.f1.optics.gratings.efficiencies.efficiency_vs_angle_0deg_0_0.png
Return type:

FunctionArray[TemporalSpectralDirectionalVectorArray, ScalarArray]