Stackο
- class plasmapy.diagnostics.charged_particle_radiography.detector_stacks.Stack( )[source]ο
Bases:
object
An ordered list of
Layer
objects.- Parameters:
layers (list of
Layer
) β The objects that make up the film stack.
Attributes Summary
The number of layers in the stack marked
active
.The number of layers in the stack.
The total thickness of the stack.
Methods Summary
deposition_curves
(energies[,Β dx,Β ...])Calculate the deposition of an ensemble of particles over a range of energies in a stack of films and filters.
energy_bands
(energy_range,Β dE[,Β dx,Β ...])Calculate the energy bands in each of the active layers of a film stack.
Attributes Documentation
- num_activeο
The number of layers in the stack marked
active
.
- num_layersο
The number of layers in the stack.
- thicknessο
The total thickness of the stack.
Methods Documentation
- deposition_curves(
- energies: ~astropy.units.quantity.Quantity,
- dx=<Quantity 1. um>,
- return_only_active: bool = True,
Calculate the deposition of an ensemble of particles over a range of energies in a stack of films and filters.
- Parameters:
energies ((
nenergies
,)Quantity
array) β Energies axis over which to calculate the deposition. Units convertible to J.dx (
Quantity
, optional) β The spatial resolution of the numerical integration of the stopping power. Defaults to 1 ΞΌm.return_only_active (
bool
, default:True
) β IfTrue
, only the energy bands of layers in which the active property isTrue
will be returned. This is usually desirable, since particles captured in other layers will not be measured. IfFalse
, energy bands in all layers of the stack are returned. The default isTrue
.
- Returns:
deposited β The fraction of particles at each energy that will be deposited in each layer of the film. The array is normalized such that the sum along the first dimension (all of the layers) for each population is unity.
- Return type:
(
nlayers
,nenergies
)ndarray
- energy_bands(
- energy_range: ~astropy.units.quantity.Quantity,
- dE: ~astropy.units.quantity.Quantity,
- dx=<Quantity 1.e-06 m>,
- return_only_active: bool = True,
Calculate the energy bands in each of the active layers of a film stack.
- Parameters:
energy_range ((2,)
Quantity
array) β A range of energies to include in the calculation. Units convertible to eV.dE (
Quantity
) β Spacing between energy bins in the calculation. Units convertible to J.dx (
Quantity
, default: 1 ΞΌm) β The spatial resolution of the numerical integration of the stopping power. Passed directly to thedeposition_curves
method.return_only_active (
bool
, default:True
) β IfTrue
, only the energy bands of layers in which the active property isTrue
will be returned. This is usually desirable, since particles captured in other layers will not be measured. IfFalse
, energy bands in all layers of the stack are returned.
- Returns:
energy_bands β The full-width-half-max energy range of the Bragg peak in each active layer of the film stack, in J.
- Return type:
(
nlayers
, 2)Quantity