pub struct CwtOperation;Expand description
Morlet continuous wavelet transform with a cone-of-influence mask (docs/time-frequency.md).
Trait Implementations§
Source§impl Operation for CwtOperation
impl Operation for CwtOperation
Source§fn summary(&self) -> &'static str
fn summary(&self) -> &'static str
One sentence on what the operation does, for
modewise ops and the generated reference.Source§fn params_schema(&self) -> Value
fn params_schema(&self) -> Value
JSON Schema of the parameters: types, descriptions from doc comments, and defaults. The
generated reference (docs/reference/operations.md) and tools read it.
fn descriptor(&self) -> OperationDescriptor
Source§fn resolve(&self, params: Value) -> Result<Value, String>
fn resolve(&self, params: Value) -> Result<Value, String>
Checks parameters and fills in defaults. The result is what gets cached and recorded.
Source§fn run(&self, params: &Value, inputs: &Inputs) -> Result<Outputs, String>
fn run(&self, params: &Value, inputs: &Inputs) -> Result<Outputs, String>
Runs on parameters that
resolve returned.§fn output_kind(
&self,
port: &Port,
_inputs: &BTreeMap<String, ArtifactKind>,
) -> ArtifactKind
fn output_kind( &self, port: &Port, _inputs: &BTreeMap<String, ArtifactKind>, ) -> ArtifactKind
The kind an output will have, given the kinds bound to each input. By default the first
kind the port lists; operations whose output follows their input override this.
Auto Trait Implementations§
impl Freeze for CwtOperation
impl RefUnwindSafe for CwtOperation
impl Send for CwtOperation
impl Sync for CwtOperation
impl Unpin for CwtOperation
impl UnwindSafe for CwtOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more