fouriax.Intensity#

class Intensity(data, grid, spectrum)#

Bases: object

Real-valued spatial intensity over a 2D grid for one or more wavelengths.

Parameters:
__init__(data, grid, spectrum)#
Parameters:
Return type:

None

Methods

__init__(data, grid, spectrum)

power()

sum_wavelengths()

validate()

zeros(grid, spectrum[, dtype])

Attributes

data: Array#
grid: Grid#
spectrum: Spectrum#
classmethod zeros(grid, spectrum, dtype=<class 'jax.numpy.float32'>)#
Parameters:
Return type:

Intensity

property batch_shape: tuple[int, ...]#
property has_batch: bool#
power()#
Return type:

Array

sum_wavelengths()#
Return type:

Array

validate()#
Return type:

None