pipeline.domain.spectralwindow.ArithmeticProgression

class ArithmeticProgression(start: int | float, delta: int | float, num_terms: int)[source]

Bases: object

A representation of an arithmetic progression that can generate sequence elements on demand.

Methods

Attributes

start

delta

num_terms

__init__(start: int | float, delta: int | float, num_terms: int) None[source]

Initialize an ArithmeticProgression object.

Parameters:
  • start -- Value of first element in the progression.

  • delta -- Common difference between each element in the progression.

  • num_terms -- Number of elements in the progression.