utils
utils#
This package contains handy functions useful across simphony submodules and to the average user.
Functions
|
Adds two polar coordinates together. |
|
Converts a dictionary of s-parameters to a matrix of s-parameters. |
|
Convenience function for converting from frequency to wavelength. |
|
Returns the result of a cubic interpolation for a given frequency range. |
|
Adds two polar matrixes together. |
|
Multiplies two polar matrixes together. |
|
Multiplies two polar coordinates together. |
|
Convert from rectangular to polar coordinates element-wise. |
|
Convert from polar to rectangular coordinates element-wise. |
|
Resample an s-dictionary to a new frequency grid. |
|
Converts a number represented as a string to a float. |
|
Validates a model. |
|
Convenience function for converting from wavelength to frequency. |
|
Convenience function for converting from wavelength in microns to frequency. |
|
Converts a NxN matrix or N shaped vector in xpxp convention to xxpp convention. |
|
Converts a NxN matrix or N shaped vector in xxpp convention to xpxp convention. |