Type alias Cyclic

Cyclic: ((tPerSegment, y, pointsPerSegment, cycles, optionals?) => [number, number][])

Type declaration

    • (tPerSegment, y, pointsPerSegment, cycles, optionals?): [number, number][]
    • Parameters

      • tPerSegment: number

        time interval till the amplitudes peak

      • y: number

        amplitudes peak value

      • pointsPerSegment: number

        number of values per segment (e.g. value of 2 stands for initial, amplitude and final value in case of full cycle)

      • cycles: number

        number of cycles (single polarity)

      • Optional optionals: CyclicOptionals

        see CyclicOptionals type

      Returns [number, number][]

      Array of x (typically time) and y (typically some intensity) values

      Note

      segment represents half of the single polarity cycle

Generated using TypeDoc