fano_factor#

optika.sensors.fano_factor(wavelength, temperature=<Quantity 300. K>)[source]#

Calculate the Fano factor of a silicon detector for a given wavelength and temperature using the model given in Ramanathan and Kurinsky [2020].

Parameters:
Return type:

ScalarArray

Examples

Plot the Fano factor vs wavelength

import matplotlib.pyplot as plt
import astropy.units as u
import named_arrays as na
import optika

# Define an array of wavelengths
wavelength = na.geomspace(100, 100000, axis="wavelength", num=1001) << u.AA

# Compute the Fano factor
f = optika.sensors.fano_factor(wavelength)

# Plot the Fano factor vs wavelength
fig, ax = plt.subplots()
na.plt.plot(wavelength, f, ax=ax);
ax.set_xscale("log");
ax.set_xlabel(f"wavelength ({wavelength.unit:latex_inline})");
ax.set_ylabel(f"Fano factor ({f.unit:latex_inline})");
../_images/optika.sensors.fano_factor_0_1.png