DNOIS¶
Package dnois
provides some commonly used or basic functions and classes.
Camera¶
|
A basic camera model. |
Physics¶
Convert a string or number to a floating point number, if possible. |
|
|
Returns the wavelengths of Fraunhofer's F, d and C lines. |
|
Alias for |
|
Returns information about Fraunhofer lines. |
|
Alias for |
|
Computes direction of reflective ray given that of incident ray and normal vector: |
|
Computes direction of refractive ray given that of incident ray, normal vector and refractive indices. |
|
Computes magnitude of wavelength vector: |
Functions¶
|
Computes the \(k\)-th term of Zernike polynomials: |
|
Computes the Cartesian partial derivatives of \(k\)-th term of Zernike polynomials. |
Debugging¶
|
Switch debugging mode on or off. |
Returns whether debugging is enabled or not. |
Units¶
|
Convert a quantity with given unit |
|
Get global default unit. |
|
Set global default length unit. |
|
Base class of all units. |
|
Length units. |
|
Angle units. |
Exception classes¶
Raised when the shape of a tensor is invalid for some functions. |
|
Raised when some physical assumptions are not met. |
Miscellaneous¶
|
Format a |