Skip to content

abstract.differentiator

differentiator(
*,
scale: float = 1.0,
scheme: Literal['backwards', 'central'] = 'backwards',
) -> photonforge.Component

Derivative of the input signal.

Based on DifferentialTimeStepper.

Args

  • scheme: Differentiation scheme.
  • scale: Output scaling factor.