StreamingCWT
ferro_
wave
0.17.1
StreamingCWT
Methods
all_group_delays
center_frequency
group_delay_samples
is_ready
new
omega0
reset
sample_count
sample_rate
scales
try_new
try_update
try_update_into
update
update_into
warmup_samples
Trait Implementations
Debug
IncrementalTransform
Auto Trait Implementations
Freeze
RefUnwindSafe
Send
Sync
Unpin
UnwindSafe
Blanket Implementations
Any
Borrow<T>
BorrowMut<T>
CastableFrom<ST, Initialized, Initialized>
CastableFrom<ST, Uninit, Uninit>
From<T>
Into<U>
IntoEither
Pointable
Read<Exclusive, BecauseExclusive>
Same
SupersetOf<SS>
TryFrom<U>
TryInto<U>
VZip<V>
In ferro_
wave::
streaming::
cwt
ferro_wave
::
streaming
::
cwt
Struct
StreamingCWT
Copy item path
pub struct StreamingCWT {
/* private fields */
}
Implementations
§
§
impl
StreamingCWT
pub fn
try_new
( scales: &[
f64
], sample_rate:
f64
, omega0:
f64
, filter_approx:
FilterApproximation
, ) ->
Result
<Self,
StreamingCWTError
>
pub fn
new
( scales: &[
f64
], sample_rate:
f64
, omega0:
f64
, filter_approx:
FilterApproximation
, ) -> Self
pub fn
update_into
(&mut self, sample:
f64
, output: &mut [
Complex
<
f64
>]) ->
bool
pub fn
try_update_into
( &mut self, sample:
f64
, output: &mut [
Complex
<
f64
>], ) ->
Result
<
bool
,
StreamingCWTError
>
pub fn
update
(&mut self, sample:
f64
) ->
StreamingCWTResult
pub fn
try_update
( &mut self, sample:
f64
, ) ->
Result
<
StreamingCWTResult
,
StreamingCWTError
>
pub fn
reset
(&mut self)
pub fn
scales
(&self) -> &[
f64
]
pub fn
sample_rate
(&self) ->
f64
pub fn
sample_count
(&self) ->
u64
pub fn
is_ready
(&self) ->
bool
pub fn
center_frequency
(&self, scale_idx:
usize
) ->
Option
<
f64
>
pub fn
omega0
(&self) ->
f64
pub fn
warmup_samples
(&self) ->
usize
pub fn
group_delay_samples
(&self, scale_idx:
usize
) ->
Option
<
f64
>
pub fn
all_group_delays
(&self) ->
Vec
<
f64
>
Trait Implementations
§
§
impl
Debug
for
StreamingCWT
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
§
impl
IncrementalTransform
for
StreamingCWT
§
type
Output
=
Vec
<
Complex
<
f64
>>
§
fn
push
(&mut self, sample:
f64
) ->
bool
§
fn
current
(&self) ->
Option
<Self::
Output
>
§
fn
is_ready
(&self) ->
bool
§
fn
samples_processed
(&self) ->
u64
§
fn
reset
(&mut self)
Auto Trait Implementations
§
§
impl
Freeze
for
StreamingCWT
§
impl
RefUnwindSafe
for
StreamingCWT
§
impl
Send
for
StreamingCWT
§
impl
Sync
for
StreamingCWT
§
impl
Unpin
for
StreamingCWT
§
impl
UnwindSafe
for
StreamingCWT
Blanket Implementations
§
§
impl<T>
Any
for T
where T: 'static + ?
Sized
,
§
fn
type_id
(&self) ->
TypeId
§
impl<T>
Borrow
<T> for T
where T: ?
Sized
,
§
fn
borrow
(&self) ->
&T
§
impl<T>
BorrowMut
<T> for T
where T: ?
Sized
,
§
fn
borrow_mut
(&mut self) ->
&mut T
§
impl<T>
From
<T> for T
§
fn
from
(t: T) -> T
§
impl<T, U>
Into
<U> for T
where U:
From
<T>,
§
fn
into
(self) -> U
§
impl<T>
IntoEither
for T
§
fn
into_either
(self, into_left:
bool
) ->
Either
<Self, Self>
§
fn
into_either_with
<F>(self, into_left: F) ->
Either
<Self, Self>
where F:
FnOnce
(&Self) ->
bool
,
§
impl<T> Pointable for T
§
const
ALIGN
:
usize
§
type
Init
= T
§
unsafe fn
init
(init: <T as Pointable>::Init) ->
usize
§
unsafe fn
deref
<'a>(ptr:
usize
) ->
&'a T
§
unsafe fn
deref_mut
<'a>(ptr:
usize
) ->
&'a mut T
§
unsafe fn
drop
(ptr:
usize
)
§
impl<T>
Same
for T
§
type
Output
= T
§
impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,
§
fn
to_subset
(&self) ->
Option
<SS>
§
fn
is_in_subset
(&self) ->
bool
§
fn
to_subset_unchecked
(&self) -> SS
§
fn
from_subset
(element:
&SS
) -> SP
§
impl<T, U>
TryFrom
<U> for T
where U:
Into
<T>,
§
type
Error
=
Infallible
§
fn
try_from
(value: U) ->
Result
<T, <T as
TryFrom
<U>>::
Error
>
§
impl<T, U>
TryInto
<U> for T
where U:
TryFrom
<T>,
§
type
Error
= <U as
TryFrom
<T>>::
Error
§
fn
try_into
(self) ->
Result
<U, <U as
TryFrom
<T>>::
Error
>
§
impl<V, T> VZip<V> for T
where V: MultiLane<T>,
§
fn
vzip
(self) -> V
§
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?
Sized
, DT: ?
Sized
,
§
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?
Sized
, DT: ?
Sized
,
§
impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?
Sized
,