Changes

Glossary of EM.Cube's Python Functions

941 bytes added, 14:37, 29 August 2016
|-
| sign(x)
| Std. Python function
| Sign function
| 1 if x>0, -1 if x<0
|-
| fac(x)
| Std. Python function
| Factorial
| For integer values of x: n! = n(n-1)(n-2)...3.2.1
|-
| fac2(x)
| Std. Python function
| Double factorial
| For even integer values of x: n!! = n(n-2)(n-4)...4.2, for odd integer values of x: n!! = n(n-2)(n-4)...5.3
|-
| ceiling(x)
| Std. Python function
| Ceiling function
| Nearest integer >= x
|-
| Ci(x)
| Std. Python function
| Cosine integral function
| See [https://en.wikipedia.org/wiki/Trigonometric_integral Trigonometric Integrals on Wikipedia.]
|-
| Si(x)
| Std. Python function
| Sine integral function
| See [https://en.wikipedia.org/wiki/Trigonometric_integral Trigonometric Integrals on Wikipedia.]
|-
| C(x)
| Std. Python function
| Cosine Fresnel integral function
| See [https://en.wikipedia.org/wiki/Fresnel_integral Fresnel Integrals on Wikipedia.]
|-
| S(x)
| Std. Python function
| Sine Fresnel integral function
| See [https://en.wikipedia.org/wiki/Fresnel_integral Fresnel Integrals on Wikipedia.]
|-
| Ellip_E(x)
| Std. Python function
| Elliptic function of the first kind
| See [https://en.wikipedia.org/wiki/Elliptic_integral Elliptic Integrals on Wikipedia.]
|-
| Ellip_K(x)
| Std. Python function
| Elliptic function of the second kind
| See [https://en.wikipedia.org/wiki/Elliptic_integral Elliptic Integrals on Wikipedia.]
|-
| Ei(x)
| Std. Python function
| Exponential integral function
| See [https://en.wikipedia.org/wiki/Exponential_integral Exponential Integrals on Wikipedia.]
|-
| En(n,x)
| Std. Python function
| Generalized exponential integral function of order n
| See [https://en.wikipedia.org/wiki/Exponential_integral Exponential Integrals on Wikipedia.]
|-
| gauss(x)
| Std. Python function
| Gaussian function
| -
|-
| erf(x)
| Std. Python function
| Error function
| See [https://en.wikipedia.org/wiki/Error_function Error Function on Wikipedia.]
|-
| gamma(x)
| Std. Python function
| Gamma function
| See [https://en.wikipedia.org/wiki/Gamma_function Gamma Function on Wikipedia.]
|-
| Airy_A(x)
| Std. Python function
| Airy function of the first kind
| See [https://en.wikipedia.org/wiki/Airy_function Airy Functions on Wikipedia.]
|-
| Airy_B(x)
| Std. Python function
| Airy function of the second kind
| See [https://en.wikipedia.org/wiki/Airy_function Airy Functions on Wikipedia.]
|-
| Jn(n,x)
| Std. Python function
| Bessel function of the first kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| Yn(n,x)
| Std. Python function
| Bessel function of the second kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| In(n,x)
| Std. Python function
| Modified Bessel function of the first kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| Kn(n,x)
| Std. Python function
| Modified Bessel function of the second kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| SB_jn(n,x)
| Std. Python function
| Spherical Bessel function of the first kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| SB_yn(n,x)
| Std. Python function
| Spherical Bessel function of the second kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| SB_in(n,x)
| Std. Python function
| Modified spherical Bessel function of the first kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| SB_kn(n,x)
| Std. Python function
| Modified spherical Bessel function of the second kind and order n
| See [https://en.wikipedia.org/wiki/Bessel_function Bessel Functions on Wikipedia.]
|-
| Pn(n,x)
| Std. Python function
| Legendre function of the first kind and order n
| See [https://en.wikipedia.org/wiki/Legendre_polynomial Legendre Polynomials on Wikipedia.]
|-
| Qn(n,x)
| Std. Python function
| Legendre function of the second kind and order n
| See [https://en.wikipedia.org/wiki/Legendre_polynomials Legendre Polynomials on Wikipedia.]
|-
| Tn(n,x)
| Std. Python function
| Chebyshev polynomial of the first kind and order n
| See [https://en.wikipedia.org/wiki/Chebyshev_polynomials Chebyshev Polynomials on Wikipedia.]
|-
| Un(n,x)
| Std. Python function
| Chebyshev polynomial of the second kind and order n
| See [https://en.wikipedia.org/wiki/Chebyshev_polynomials Chebyshev Polynomials on Wikipedia.]
|-
| LGn(n,x)
| Std. Python function
| Laguerre polynomial of order n
| See [https://en.wikipedia.org/wiki/Laguerre_polynomials Laguerre Polynomials on Wikipedia.]
|-
| Hn(n,x)
| Std. Python function
| Hermite polynomial of order n
| See [https://en.wikipedia.org/wiki/Hermite_polynomials Hermite Polynomials on Wikipedia.]
|-
| Un(n,x)
| Std. Python function
| Hermite-Gauss function of order n
| -
|-
| Math_ce(n,r,x)
| Std. Python function
| Even periodic (cosine) Mathieu function of order n
| See [https://en.wikipedia.org/wiki/Mathieu_function Mathieu Functions on Wikipedia.]
|-
| Math_se(n,r,x)
| Std. Python function
| Odd periodic (sine) Mathieu function of order n
| See [https://en.wikipedia.org/wiki/Mathieu_function Mathieu Functions on Wikipedia.]
|-
| Rect(x)
| EMAG Python function
| Rectangle function
| 1 if |x|&le;0.5, 0 elsewhere
|-
| Tri(x)
| EMAG Python function
| Triangle function
| 1 if |1-x|&le;1, 0 elsewhere
|-
| Spln2(x)
| EMAG Python function
| Quadratic spline function
| -
|-
| Spln3(x)
| EMAG Python function
| Cubic spline function
| -
|-
| Step(x)
| EMAG Python function
| Step function
| 1 if x>0, 0 if x<0
|-
| Haar(x)
| EMAG Python function
| Haar function
| sign(x) if |x|<0.5, 0 elsewhere
|-
| Ramp(x)
| EMAG Python function
| Ramp function
| -
|-
| Trapz(a,x)
| EMAG Python function
| Trapezoidal function
| -
|-
| Sqwv(x)
| EMAG Python function
| Square wave function
| -
|-
| Stwv(x)
| EMAG Python function
| Sawtooth wave function
| -
|-
| Trwv(x)
| EMAG Python function
| Triangle wave function
| -
|-
| Plstr(d,x)
| EMAG Python function
| Pulse train function with duty cycle d
| -
|-
| Sinc(d,x)
| EMAG Python function
| Sinc function
| sin(pi*x)/(pi*x)
|-
| Fejer(n,x)
| EMAG Python function
| Fejer function of order n
| -
|-
| Rand(x)
| EMAG Python function
| Random function
| -
|-
| Fltr_B(n,x)
| Butterworth filter function of order n
| -
|-
| Fltr_CH1(n,e,x)
| Chebyshev filter function of the first kind, order n
| e: ripple factor e
|-
| Fltr_CH2(n,e,x)
| Chebyshev filter function of the second kind, order n
| e: ripple factor e
|-
| Fltr_E(n,s,e,x)
| Elliptic filter function of order n
| s: selectivity factor s, ripple factor e, n = 0, 1, 2, 3, 4, 6, 8, 9, 12
|-
| Z0_MS(e,x)
| EMAG Python function
| Characteristic impedance of a microstrip transmission line
| x: width-to-height ratio, e: substrate permittivity
|-
| w_MS(z,e,t)
| EMAG Python function
| Width of a microstrip transmission line
| z: characteristic impedance, e: substrate permittivity, t: substrate thickness
|-
| eeff_MS(e,x)
| EMAG Python function
| Effective permittivity of a microstrip transmission line
| x: width-to-height ratio, e: substrate permittivity
|-
| woh_MS(e,z)
| EMAG Python function
| Width-to-height ratio of a microstrip transmission line
| z: characteristic impedance z, e: substrate permittivity
|-
| Z0_CPW(e,x,y)
| EMAG Python function
| Characteristic impedance of a coplanar waveguide transmission line
| x: slot width-to-height ratio, y: center strip width-to-height ratio, e: substrate permittivity
|-
| eeff_CPW(e,x,y)
| EMAG Python function
| Effective permittivity of a coplanar waveguide transmission line
| x: slot width-to-height ratio, y: center strip width-to-height ratio, e: substrate permittivity
|-
| horn_a(d,x,y)
| EMAG Python function
| Wavelength-normalized a-dimension of an optimal pyramidal horn antenna
| d: directivity d, x and y: wavelength-normalized waveguide dimensions
|-
| horn_b(d,x,y)
| EMAG Python function
| Wavelength-normalized b-dimension of an optimal pyramidal horn antenna
| d: directivity d, x and y: wavelength-normalized waveguide dimensions
|-
| horn_l(d,x,y)
| EMAG Python function
| Wavelength-normalized length of an optimal pyramidal horn antenna
| d: directivity d, x and y: wavelength-normalized waveguide dimensions
28,333
edits