Single Dish Radio Astronomy Software Tools¶
DSP Package¶
module DSP - demonstrates digital signal processing concepts
Provides digital simulations for devices used in analog signal processing.
Notes
Analytic signals are complex signals in exponential notation, using Euler’s formula. Specifically they are the two signals out of a complex mixer or quadrature hybrid, in which all the Fourier components of the imaginary or sine voltage have been delayed by a quarter cycle:
+iwt
V = V + i V = V + i V = V e
anal r i I Q 0
where w
is the angular frequency.
Functions¶
|
normalized box centered on x=0 |
|
Interpolate data increasing the number of points by a factor of increase which must be a power of two. |
|
checks complex signal for quadrature |
|
checks complex signal for quadrature |
Converts complex number to exponential |
|
|
Creates a sinc filter of K taps at a frequency f0 with a width between first nulls of 1/factor. |
|
normalized numpy compatible box of width ‘w’ centered on zero. |
Classes¶
|
Multiplies a signal with an LO to produce a IF |
|
Mixes a real ( |
Signal with noise and Fourier components |
|
|
On-the-fly convolution tool |
|
Mixes complex signal with same real ( |
Add components of an analytic signal with +/- pi/2 phase shift |
|
Copy of a real signal with an imaginary component delayed by pi/2 |
|
|
Simulated signal generator for making test signals |
|
Mixes a real ( |
Class Inheritance Diagram¶
DSP.plotter Module¶
plotting support for module DSP
plot_data - plots multiple data sets in one pair of axes.
- mixing_plot - plots signal in the upper panel, spectrum of the signal and
LO in the middle panel, and the mixed spectrum in the lower panel.
- signal_summary - plots a signal in the top panel, its spectrum in the middle
panel, and the power spectrum in the lower panel
Functions¶
|
display rows of signals in three columns with signal, spectrum, and phase |
|
Interpolate data increasing the number of points by a factor of increase which must be a power of two. |
|
plots the results of mixing tests |
|
Plot data, which is a list of sublists, [[x,y,f,l],[x,y,f,l],…,[x,y,f,l]] |
|
Plots a real or analytic signal, its spectrum, and its power spectrum |
|
Plots a real or analytic signal, its spectrum, and its power spectrum |
|
Create a figure and a set of subplots. |
For an overview of SDRAST and the current status please visit https://sdrast.github.io/.