xopto.materials.ri.util.model.sellmeier module

class SellmeierEx_1(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Extended one term Sellmeier model of the refractive index.

n^{2} = A + B_{1}\lambda^{2}/(\lambda^2 - C_{1})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class SellmeierEx_2(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Extended two term Sellmeier model of the refractive index.

n^{2} = A + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class SellmeierEx_3(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Extended three term Sellmeier model of the refractive index.

n^{2} = A + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2}) + B_{3}\lambda^{2}/(\lambda^{2} - C_{3})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class SellmeierEx_4(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Four term Sellmeier model of the refractive index.

n^{2} = A + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2}) + B_{3}\lambda^{2}/(\lambda^{2} - C_{3} + B_{4}\lambda^{2}/(\lambda^{2} - C_{4})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class SellmeierEx_5(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Five term Sellmeier model of the refractive index.

n^{2} = A + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2}) + B_{3}\lambda^{2}/(\lambda^{2} - C_{3} + B_{4}\lambda^{2}/(\lambda^{2} - C_{4} + B_{5}\lambda^{2}/(\lambda^{2} - C_{5})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class Sellmeier_1(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

One term Sellmeier model of the refractive index.

n^{2} = 1 + B_{1}\lambda^{2}/(\lambda^2 - C_{1})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class Sellmeier_2(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Two term Sellmeier model of the refractive index.

n^{2} = 1 + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class Sellmeier_3(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Three term Sellmeier model of the refractive index.

n^{2} = 1 + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2}) + B_{3}\lambda^{2}/(\lambda^{2} - C_{3})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class Sellmeier_4(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Four term Sellmeier model of the refractive index.

n^{2} = 1 + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2}) + B_{3}\lambda^{2}/(\lambda^{2} - C_{3} + B_{4}\lambda^{2}/(\lambda^{2} - C_{4})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray

class Sellmeier_5(params, pp: Optional[xopto.materials.ri.util.model.base.Scale] = None, **kwargs)[source]

Bases: xopto.materials.ri.util.model.base.Model

Five term Sellmeier model of the refractive index.

n^{2} = 1 + B_{1}\lambda^{2}/(\lambda^2 - C_{1}) + B_{2}\lambda^{2}/(\lambda^{2} - C_{2}) + B_{3}\lambda^{2}/(\lambda^{2} - C_{3} + B_{4}\lambda^{2}/(\lambda^{2} - C_{4} + B_{5}\lambda^{2}/(\lambda^{2} - C_{5})

Parameters
guess(wavelengths: numpy.ndarray, n: numpy.ndarray)list[source]

Returns an initial guess of the model parameters for optimization/fit.

Parameters
  • wavelengths (np.ndarray) – The wavelengths of light at which the values of refractive index are defined.

  • n (np.ndarray) – The values of refractive index at the given wavelengths of light.

Returns

params0 – Initial guess for the values of the model parameters

Return type

np.ndarray

ri(params: numpy.ndarray, wavelengths: numpy.ndarray)[source]

Compute the refractive index for the given model parameters and wavelengths of light.

Parameters
  • params (np.ndarray) – Model parameters.

  • wavelengths (np.ndarray) – Wavelengths of light (m).

Returns

n – Refractive index estimated for the given model parameters and at the given wavelengths of light.

Return type

np.ndarray