HWindowType

A window type representation.

Supports Blackman, Blackman2, BlackmanHarris, BlackmanHarris2, Hann and Hann2 types.

Methods

print

print() source

Prints the HWindowType.

Differently from R’s behaviour, print doesn’t return the value invisibly.

Examples

library(harmonium)
windowtype = HWindowType$Blackman
windowtype$print()

# or similarly:
print(windowtype)

eq

eq(other: HWindowType) -> bool source

Equality with another HWindowType.

Arguments

  • other

An HWindowType.

Returns

A bool.

Examples

library(harmonium)
windowtype1 = HWindowType$Blackman
windowtype2 = HWindowType$Blackman
windowtype1$eq(windowtype2) # TRUE

# or similarly:
windowtype1 == windowtype2

ne

ne(other: HWindowType) -> bool source

Difference with another HWindowType.

Arguments

  • other

An HWindowType.

Returns

A bool.

Examples

library(harmonium)
windowtype1 = HWindowType$Blackman
windowtype2 = HWindowType$Blackman
windowtype1$ne(windowtype2) # FALSE

# or similarly:
windowtype1 != windowtype2