Package lib :: Package curve_fit :: Module exponential
[hide private]
[frames] | no frames]

Module exponential

source code

Module for exponential curve-fitting.

Functions [hide private]
 
exponential_2param_neg(rate=None, i0=None, x=None, y=None)
Calculate the data for a standard two parameter decreasing exponential.
source code
Variables [hide private]
  __package__ = 'lib.curve_fit'

Imports: exp


Function Details [hide private]

exponential_2param_neg(rate=None, i0=None, x=None, y=None)

source code 

Calculate the data for a standard two parameter decreasing exponential.

The y-values will be calculated based on the x-values.

Parameters:
  • rate (float) - The exponential rate.
  • i0 (float) - The initial intensity.
  • x (numpy rank-1 float array) - The x-values at which to calculate the y-values.
  • y (numpy rank-1 float array) - The data structure to store the y-values in.