quadrantdetector.sample_functions module

quadrantdetector.sample_functions.center_path(x: float, diameter: float) → float

Describes the y values of a a straight path across the center of a detector given a position x and detector diameter d0.

quadrantdetector.sample_functions.half_path(x: float, diameter: float) → float

Describes the y values of a a straight path halfway above the center of a detector given a position x and detector diameter d0.

quadrantdetector.sample_functions.periodogram_psd(v, fs)
quadrantdetector.sample_functions.quarter_path(t: float, diameter: float) → float

Describes the y values of a a straight path a quarter above the center of a detector given a position x and detector diameter d0.

quadrantdetector.sample_functions.sin_path(t: float, diameter: float) → float

Describes the y values of a sine wave given a “position” t and detector diameter d0.

quadrantdetector.sample_functions.welch_psd(v, dt)