MCPcopy Create free account

hub / github.com/ChristianBelloni/sciport-rs / functions

Functions323 in github.com/ChristianBelloni/sciport-rs

↓ 2 callersMethodset_criteria
Builder Pattern for setting the criteria
src/optimize/mod.rs:227
↓ 2 callersMethodset_success
set flag to successful with a message
src/optimize/mod.rs:355
↓ 2 callersMethodtan
(self)
src/signal/band_filter.rs:59
↓ 2 callersFunctiontaylor
( m: u64, nbar: impl Into<Option<u64>>, sll: impl Into<Option<f64>>, norm: impl Into<Option<bo
src/signal/fir_filter_design/windows.rs:457
↓ 2 callersFunctiontriang
(m: u64, sym: impl Into<Option<bool>>)
src/signal/fir_filter_design/windows.rs:167
↓ 2 callersFunctiontukey
(m: u64, alpha: impl Into<Option<f64>>, sym: impl Into<Option<bool>>)
src/signal/fir_filter_design/windows.rs:419
↓ 1 callersFunction_aberth
( f: F, fp: FP, x0: &[Complex<T>], )
src/signal/filter_design/bessel.rs:159
↓ 1 callersFunction_barthann
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:360
↓ 1 callersFunction_bartlett
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:253
↓ 1 callersFunction_blackman
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:223
↓ 1 callersFunction_blackmanharris
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:343
↓ 1 callersFunction_bohman
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:323
↓ 1 callersFunction_boxcar
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:155
↓ 1 callersFunction_campos_zeros
verified with python
src/signal/filter_design/bessel.rs:204
↓ 1 callersFunction_cosine
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:376
↓ 1 callersFunction_exponential
(m: u64, center: Option<f64>, tau: f64, sym: bool)
src/signal/fir_filter_design/windows.rs:395
↓ 1 callersFunction_find_nat_freq
( band_filter: GenericOrdBandFilter<T>, gpass: T, gstop: T, )
src/signal/filter_design/butterord.rs:113
↓ 1 callersFunction_flattop
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:273
↓ 1 callersFunction_gaussian
(m: u64, std_dev: f64, sym: bool)
src/signal/fir_filter_design/windows.rs:592
↓ 1 callersFunction_general_cosine
(m: u64, a: Array1<f64>, sym: bool)
src/signal/fir_filter_design/windows.rs:204
↓ 1 callersFunction_general_gaussian
(m: u64, power: f64, width: f64, sym: bool)
src/signal/fir_filter_design/windows.rs:613
↓ 1 callersFunction_general_hamming
(m: u64, alpha: f64, sym: bool)
src/signal/fir_filter_design/windows.rs:231
↓ 1 callersFunction_hamming
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:239
↓ 1 callersFunction_hann
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:246
↓ 1 callersFunction_kaiser
(m: u64, beta: f64, sym: bool)
src/signal/fir_filter_design/windows.rs:541
↓ 1 callersFunction_kaiser_bessel_derived
(m: u64, beta: f64, _sym: bool)
src/signal/fir_filter_design/windows.rs:561
↓ 1 callersFunction_lanczos
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:511
↓ 1 callersFunction_norm_factor
(p: Array1<Complex<T>>, k: T)
src/signal/filter_design/bessel.rs:83
↓ 1 callersFunction_nuttall
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:351
↓ 1 callersFunction_parzen
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:302
↓ 1 callersFunction_pre_warp
( mut band_filter: GenericOrdBandFilter<T>, sampling: GenericSampling<T>, )
src/signal/filter_design/butterord.rs:100
↓ 1 callersFunction_taylor
(m: u64, nbar: u64, sll: f64, _norm: bool, sym: bool)
src/signal/fir_filter_design/windows.rs:464
↓ 1 callersFunction_triang
(m: u64, sym: bool)
src/signal/fir_filter_design/windows.rs:168
↓ 1 callersFunction_tukey
(m: u64, alpha: f64, sym: bool)
src/signal/fir_filter_design/windows.rs:420
↓ 1 callersFunction_validate_gpass_gstop
(gpass: T, gstop: T)
src/signal/filter_design/butterord.rs:73
↓ 1 callersFunction_validate_wp_ws
( mut band_filter: GenericOrdBandFilter<T>, sampling: GenericSampling<T>, )
src/signal/filter_design/butterord.rs:89
↓ 1 callersMethodalmost_eq
(&self, rhs: &Self, tol: f64)
tests/signal/common.rs:40
↓ 1 callersFunctionapprox_second_derivative
(fun: F)
src/optimize/util.rs:14
↓ 1 callersMethodas_complex
(&self)
src/optimize/root_scalar/polynomial.rs:10
↓ 1 callersFunctionbesselap
( order: u32, norm: BesselNorm, )
src/signal/filter_design/bessel.rs:42
↓ 1 callersFunctionbuttord
( band_filter: GenericOrdBandFilter<T>, gpass: T, gstop: T, sampling: GenericSampling<T>, )
src/signal/filter_design/butterord.rs:25
↓ 1 callersFunctionc_filt
Copy-pasted from scipy, this can probably be optimized
src/signal/signal_tools.rs:5
↓ 1 callersFunctioncheck_ba_filter
( rust: GenericBa<T>, python: (Vec<Complex64>, Vec<Complex64>), )
tests/signal/common.rs:120
↓ 1 callersFunctionconvolve1d
( data: ArrayView1<Complex<T>>, window: ArrayView1<Complex<T>>, )
src/tools/mod.rs:6
↓ 1 callersMethoddeflate
return the deflated polynomial using horner's method it return the quotient polynomial and the remainder scalar <https://en.wikipedia.org/wiki/Horne
src/odr/polynomial.rs:114
↓ 1 callersMethoddiv
(self, rhs: T)
src/signal/band_filter.rs:132
↓ 1 callersMethoderror_fl
calculate and return `err_fl`, only calculate, without update
src/optimize/mod.rs:283
↓ 1 callersMethoderror_fr
calculate and return `err_fr`, only calculate, without update
src/optimize/mod.rs:279
↓ 1 callersMethoderror_xr
calculate and return `err_xr`, only calculate, without update
src/optimize/mod.rs:271
↓ 1 callersFunctionfft_convolve
( in1: Array<N, D>, in2: Array<N, D>, mode: ConvolveMode, )
src/signal/convolution/mod.rs:23
↓ 1 callersMethodfilter_settings
(&self)
src/signal/filter_design/cheby2.rs:19
↓ 1 callersMethodfirwin
(self)
src/signal/fir_filter_design/firwin1.rs:16
↓ 1 callersMethodflag
get the flag
src/optimize/mod.rs:84
↓ 1 callersFunctiongeneric_approx_complex_relative_eq
( lhs: &Complex<T>, rhs: &Complex<K>, epsilon: T, max_relative: T, )
src/signal/tools/mod.rs:226
↓ 1 callersFunctiongeneric_approx_complex_relative_eq_dbg
( lhs: &Complex<T>, rhs: &Complex<K>, epsilon: T, max_relative: T, )
src/signal/tools/mod.rs:236
↓ 1 callersMethodget_solver
( &self, fun: F, bracket_x: (R, R), bracket_f: (R, R), )
src/optimize/root_scalar/bracket.rs:82
↓ 1 callersFunctionget_window
TODO! actually implement generic window selection
src/signal/fir_filter_design/windows.rs:116
↓ 1 callersFunctiongolden_method
( fun: F, bracket: (R, R), criteria: Option<OptimizeCriteria<R, R, M>>, )
src/optimize/min_scalar/golden.rs:8
↓ 1 callersMethodhev
Increment nhev
src/optimize/mod.rs:247
↓ 1 callersFunctioniir_filter
Generic iir_filter Takes a filter prototype and returns the final filter in the desired output
src/signal/filter_design/mod.rs:27
↓ 1 callersFunctioninner
(w: Array1<T>, needed: bool)
src/signal/fir_filter_design/windows.rs:637
↓ 1 callersFunctioninputs_swap_needed
(mode: ConvolveMode, shape1: &[usize], shape2: &[usize])
src/signal/convolution/mod.rs:54
↓ 1 callersMethodis_analog
(&self)
src/signal/mod.rs:61
↓ 1 callersMethodis_running
(&self)
src/optimize/mod.rs:99
↓ 1 callersFunctionkaiser_atten
(numtaps: i64, width: T)
src/signal/fir_filter_design/tools.rs:15
↓ 1 callersMethodl1_norm
return the L1 norm as a metric.
src/optimize/metric.rs:84
↓ 1 callersFunctionlinear_filter
( b: Array1<Complex<T>>, a: Array1<Complex<T>>, signal: Array1<Complex<T>>, filter_state: Arra
src/signal/signal_tools.rs:32
↓ 1 callersFunctionlp2bf_zpk
(input: GenericZpk<T>, wo: GenericBandFilter<T>)
src/signal/band_filter.rs:446
↓ 1 callersMethodms
return the mean square as a metric.
src/optimize/metric.rs:96
↓ 1 callersFunctionmul_by_scalar
(mut coeff: ArrayViewMut1<T>, scalar: T)
src/signal/tools/mod.rs:85
↓ 1 callersFunctionmul_by_x
(coeff: &mut Array1<T>)
src/signal/tools/mod.rs:81
↓ 1 callersMethodmul_power
return the multiply of polynomial by `x^p`
src/odr/polynomial.rs:85
↓ 1 callersMethodnew_solution
(&mut self)
src/optimize/min_scalar/golden.rs:73
↓ 1 callersFunctionpolynomial_roots
solve for all root of a given polynomial. it always convert the given polynomial to complex domain first, thus there will always be root this functi
src/optimize/root_scalar/polynomial.rs:54
↓ 1 callersMethodproto_filter
(&self)
src/signal/filter_design/cheby2.rs:15
↓ 1 callersFunctionquadratic_root
Solve quadratic equation for given equation for `f32`, `f64`, it will return None if the determiniate is non-square-root-able for `Complex32`, `Comp
src/optimize/root_scalar/polynomial.rs:34
↓ 1 callersMethodrms
return the root mean square as a metric.
src/optimize/metric.rs:100
↓ 1 callersMethodset_target_f
Builder Pattern for setting the `target_f`
src/optimize/mod.rs:233
↓ 1 callersMethodset_xatol
Builder Pattern for setting `xatol`
src/optimize/criteria.rs:49
↓ 1 callersMethodsize
(&self)
src/signal/band_filter.rs:74
↓ 1 callersFunctionsolve_from_bracket
( fun: F, bracket_method: &BracketMethod, bracket: (R, R), criteria: Option<OptimizeCriteria<R
src/optimize/root_scalar/bracket.rs:109
↓ 1 callersFunctionsub_coeff
(mut coeff: ArrayViewMut1<T>, ar: &Array1<T>)
src/signal/tools/mod.rs:89
↓ 1 callersFunctiontest_bessel
(order: u32, band_filter: BandFilter, analog: Sampling, norm: BesselNorm)
tests/signal/bessel.rs:73
↓ 1 callersFunctiontest_butter
(order: u32, band_filter: BandFilter, analog: Sampling)
tests/signal/butter.rs:80
↓ 1 callersFunctiontest_cheby1
(order: u32, band_filter: BandFilter, analog: Sampling, rp: f64)
tests/signal/cheby1.rs:71
↓ 1 callersFunctiontest_cheby2
(order: u32, band_filter: BandFilter, analog: Sampling, rs: f64)
tests/signal/cheby2.rs:67
↓ 1 callersMethodupdate
Update new solution from solver, increment iter, and calculate error
src/optimize/mod.rs:252
↓ 1 callersFunctionvalidate_firwin_input
(cutoff: &BandFilter, numtaps: i64)
tests/signal/fir_filter_design.rs:69
↓ 1 callersFunctionwith_scipy
(cl: &str)
tests/special.rs:5
Function_bessel_zeros
( order: u32, )
src/signal/filter_design/bessel.rs:110
Function_falling_factorial
(x: u32, n: u32)
src/signal/filter_design/bessel.rs:101
Function_init_freq_conv_axes
( in1: Array<N, D>, in2: Array<N, D>, mode: ConvolveMode, axes: impl Into<Option<Vec<Axis>>>,
src/signal/convolution/mod.rs:40
Methodadd
(self, rhs: T)
src/signal/band_filter.rs:365
Methodadd
(self, rhs: Self)
src/odr/polynomial.rs:207
Methodas_rc
(self)
src/odr/polynomial.rs:162
Functionbad_test
()
tests/signal/signal_tools.rs:11
Methodbandpass
(wp_low: T, wp_high: T, ws_low: T, ws_high: T)
src/signal/band_filter.rs:190
Methodbandstop
(wp_low: T, wp_high: T, ws_low: T, ws_high: T)
src/signal/band_filter.rs:204
Methodcast
(self)
src/signal/mod.rs:68
Methodcast
(self)
src/signal/band_filter.rs:21
← previousnext →101–200 of 323, ranked by callers