<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>DSPIRA</title>
    <description>Free lessons on building and using a horn radio telescope — the antenna, the amplifier, the software-defined radio and the astronomy. Written by the high school teachers of the DSPIRA program at West Virginia University.</description>
    <link>https://wvurail.org/dspira/</link>
    <atom:link href="https://wvurail.org/dspira/feed.xml" rel="self" type="application/rss+xml" />
    
      <item>
        <title>Correlation and the Two-Element Interferometer</title>
        <description>&lt;p&gt;Every measurement a radio telescope makes is a correlation of some kind. A
single horn correlates a signal with itself; two horns correlate one against
the other. This lesson explains convolution, autocorrelation, and cross-correlation. It then uses these operations to explain what a two-element interferometer measures.&lt;/p&gt;

&lt;p&gt;It was written by &lt;strong&gt;Pranav Sanghavi&lt;/strong&gt; at this lab in 2018. Everything here can
be run yourself: the notebook is at
&lt;a href=&quot;https://github.com/WVURAIL/dspira/tree/master/code/interferometry&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;code/interferometry/&lt;/code&gt;&lt;/a&gt;
and needs nothing but &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;numpy&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;scipy&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;matplotlib&lt;/code&gt;.&lt;/p&gt;

&lt;!-- TOC --&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#convolution&quot;&gt;Convolution&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#cross-correlation-and-autocorrelation&quot;&gt;Cross-correlation and autocorrelation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#why-interferometry&quot;&gt;Why interferometry&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-two-element-interferometer&quot;&gt;The two-element interferometer&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-effect-of-bandwidth&quot;&gt;The effect of bandwidth&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#where-to-go-next&quot;&gt;Where to go next&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#credits&quot;&gt;Credits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- /TOC --&gt;

&lt;h2 id=&quot;convolution&quot;&gt;Convolution&lt;/h2&gt;

&lt;blockquote&gt;
  &lt;p&gt;“In mathematics (and, in particular, functional analysis) convolution is a
mathematical operation on two functions (f and g) to produce a third
function, that is typically viewed as a modified version of one of the
original functions, giving the integral of the pointwise multiplication of
the two functions as a function of the amount that one of the original
functions is translated”&lt;/p&gt;

  &lt;p&gt;— &lt;a href=&quot;https://en.wikipedia.org/wiki/Convolution&quot;&gt;Wikipedia&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

\[(f * g)(x) \,=\, \int_{-\infty}^{+\infty} f(x-t)\,g(t)\,dt\]

&lt;p&gt;&lt;em&gt;for multiple dimensions&lt;/em&gt;&lt;/p&gt;

\[\begin{align}
(f * g)(x_1,\ldots,x_n ) \,&amp;amp;=\, (f * g)({\bf x})\\
\,&amp;amp;=\, \int_{-\infty}^{+\infty} \ldots \int_{-\infty}^{+\infty} f(x_1-t_1, \ldots , x_n-t_n)\,g(t_1, \ldots, t_n) \,d^nt\\
\,&amp;amp;=\, \int_{-\infty}^{+\infty} f({\bf x}-{\bf t})\,g({\bf t}) \,d^nt\end{align}\]

&lt;h3 id=&quot;properties-of-convolution&quot;&gt;Properties of convolution&lt;/h3&gt;

\[\begin{align}
f * g \,&amp;amp;=\, g * f&amp;amp;\qquad (\text{commutativity})\\
(f * g)* h \,&amp;amp;=\, f * (g * h)&amp;amp;\qquad (\text{associativity})\\
f * (g + h) \,&amp;amp;=\, (f * g) + (f * h) &amp;amp;\qquad (\text{distributivity})\\
(a\, g) * h \,&amp;amp;=\, a \, (g * h)&amp;amp;\qquad (\text{associativity with scalar multiplication})\\
\end{align}\]

&lt;p&gt;Convolution smooths. Convolving a rectangle with itself produces a triangle. Convolving that result with the rectangle again approaches a Gaussian. That is the central limit theorem happening in front of you — repeated
convolution drives almost anything towards a bell curve.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/dspira/images/interferometry/convolution-boxcar.png&quot; alt=&quot;A boxcar convolved with itself, twice&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The reason this matters for a telescope is the next picture. Point sources on
the sky are spikes. Your telescope has a beam — a response pattern roughly
15° across for a DSPIRA horn. &lt;strong&gt;What you record is the sky convolved with the
beam.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/dspira/images/interferometry/convolution-impulses.png&quot; alt=&quot;Point sources convolved with a Gaussian beam&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Two sources closer together than the beam merge into one bump. No amount of
integration time separates them; the information is gone at the moment of
measurement. That single fact is the whole motivation for interferometry.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#&quot;&gt;↑ Go to the Top of the Page&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;cross-correlation-and-autocorrelation&quot;&gt;Cross-correlation and autocorrelation&lt;/h2&gt;

&lt;p&gt;Cross-correlation asks how much two signals resemble each other when one is
slid past the other:&lt;/p&gt;

\[\begin{split}
(f\star g)(x) \,&amp;amp;=\, ({f_-}^*\circ g)(x)\\
&amp;amp;=\, \int_{-\infty}^{+\infty} f^*(t-x)\,g(t)\,dt\\
&amp;amp;\underset{t^\prime = t-x}{=}\, \int_{-\infty}^{+\infty} f^*(t^\prime)\,g(t^\prime+x)\,dt^\prime\\
\end{split}\qquad \text{,}\]

\[\begin{align}
(f\star g)(x_1,\ldots,x_n ) \,&amp;amp;=\, (f\star g)({\bf x})\\
&amp;amp;=\, ({f_-}^*\circ g)(x)\\
&amp;amp;=\, \int_{-\infty}^{+\infty} \ldots \int_{-\infty}^{+\infty} f^*(t_1-x_1, \ldots , t_n-x_n)\,g(t_1, \ldots, t_n) \,d^nt\\
\end{align}\]

&lt;p&gt;Autocorrelation is the same operation with one signal played against itself:&lt;/p&gt;

\[\begin{split}
R\{f\}(x) \,&amp;amp;=\, (f\star f)(x)\\
&amp;amp;=\, (f_-^* * f)(x)\\
&amp;amp;=\, \int_{-\infty}^{+\infty} f^*(t-x)\,f(t)\,dt\\
&amp;amp;\underset{t^\prime = t-x}{=}\, \int_{-\infty}^{+\infty} f^*(t^\prime)\,f(t^\prime+x)\,dt^\prime\\
\end{split}\qquad \text{.}\]

&lt;p&gt;Unlike convolution, cross-correlation does &lt;strong&gt;not&lt;/strong&gt; flip a function. Thus, \( f \star g \neq g \star f \), while \( f * g = g * f \).&lt;/p&gt;

&lt;p&gt;Autocorrelation is how a radio telescope finds signal underneath noise. Below
is a sine wave three times smaller than the noise it sits in — invisible in the
raw trace. Its autocorrelation still reveals the period. The noise is uncorrelated at nonzero lags, while the sine wave remains correlated.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/dspira/images/interferometry/autocorrelation.png&quot; alt=&quot;Autocorrelation recovering a period from noise&quot; /&gt;&lt;/p&gt;

&lt;p&gt;This is not an analogy for what the spectrometer does — it is what the
spectrometer does. &lt;a href=&quot;/dspira/spectrometer_w_cal_Instructions&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;spectrometer_w_cal.grc&lt;/code&gt;&lt;/a&gt; displays a power spectrum. This is the Fourier transform of the horn voltage’s autocorrelation. The Wiener–Khinchin theorem establishes this equivalence. It explains how the hydrogen line emerges from a much larger noise floor.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#&quot;&gt;↑ Go to the Top of the Page&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;why-interferometry&quot;&gt;Why interferometry&lt;/h2&gt;

&lt;p&gt;The resolution of a single dish is set by diffraction:&lt;/p&gt;

\[\theta \,\approx\, 1.22 \frac{\lambda}{D}\]

&lt;p&gt;At 21 cm that is a brutal constraint. Rearranged for the diameter you would
need:&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/dspira/images/interferometry/dish-diameter.png&quot; alt=&quot;Dish diameter required for a given angular resolution at 21 cm&quot; /&gt;&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;You want&lt;/th&gt;
      &lt;th&gt;At 21 cm you need a dish&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;1 degree&lt;/td&gt;
      &lt;td&gt;15 m&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;1 arcminute&lt;/td&gt;
      &lt;td&gt;881 m&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;1 arcsecond&lt;/td&gt;
      &lt;td&gt;53 km&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;15 milliarcseconds&lt;/td&gt;
      &lt;td&gt;3,523 km&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;The last row is the resolution the VLA reaches routinely. A single dish that
did the same would be a quarter of the diameter of the Earth. A dish of that size is impractical, regardless of budget.&lt;/p&gt;

&lt;p&gt;The way out is to stop trying to fill the aperture and instead sample it at a
few points. Two horns separated by \( b \) resolve detail on the scale \( \lambda / b \). They match that large dish’s resolution, but not its collecting area.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#&quot;&gt;↑ Go to the Top of the Page&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-two-element-interferometer&quot;&gt;The two-element interferometer&lt;/h2&gt;

&lt;p&gt;Take two antennas and combine their signals. There are two ways to do it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;by &lt;strong&gt;addition&lt;/strong&gt;, to form a &lt;em&gt;sum&lt;/em&gt; interferometer, or \( \sum \)-interferometer&lt;/li&gt;
  &lt;li&gt;by &lt;strong&gt;multiplication&lt;/strong&gt;, to form a &lt;em&gt;product&lt;/em&gt; interferometer, or \( \prod \)-interferometer&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;the-sum-interferometer&quot;&gt;The sum interferometer&lt;/h3&gt;

\[P ={2 V_0^2(1+ \cos\Delta \Phi)}\]

&lt;h3 id=&quot;the-product-interferometer&quot;&gt;The product interferometer&lt;/h3&gt;

\[R_c= \langle V_1 V_2 \rangle_t\]

\[R_c =\frac{V_0^2}{2}\cos{\omega \tau}=\frac{V_0^2}{2}\cos \Delta \Phi\]

&lt;p&gt;where \( \tau \) is the time delay in the signal path. A source at angle \( \theta \) from the zenith reaches one antenna first. The geometric delay is \( \tau = b\cos\theta / c \). As the Earth turns, that
delay sweeps, and the output oscillates — the &lt;strong&gt;fringe&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This is a cosine correlator. Add a phase delay of \( \pi/2 \) to one signal path to make a sine correlator:&lt;/p&gt;

\[V_1=V_{01} \cos (\omega (t + \tau))  \quad V_2 = V_{02} \cos (\omega t + \frac{\pi}{2} )\]

\[\begin{align}
R&amp;amp;=\langle V_{01} V_{02} \cos{(\omega t + \frac{\pi}{2})} \cos{[\omega (t + \tau) ]} \rangle_t\\
R&amp;amp;= V_0^2 \frac{\langle \cos(2 \omega t + \tau + \frac{\pi}{2})+\cos (\omega \tau - \frac{\pi}{2})\rangle_t}{2}
\end{align}\]

\[R_s =\frac{V_0^2}{2}\sin{\omega \tau}\]

&lt;p&gt;Run both at once and you have a complex correlator, whose output is the
&lt;strong&gt;visibility&lt;/strong&gt;:&lt;/p&gt;

\[R = \int_{\Omega}  I_\nu(\mathbf{s}) e^{-\imath 2\pi \frac{\mathbf{b}\cdot\mathbf{s}}{\lambda}} d\Omega = V\]

&lt;p&gt;That integral is a Fourier transform of the sky brightness. &lt;strong&gt;An interferometer
measures the Fourier transform of the sky, one spatial frequency per baseline.&lt;/strong&gt;
Everything in aperture synthesis follows from it.&lt;/p&gt;

&lt;p&gt;Here is the fringe pattern of a two-element interferometer with a baseline
three wavelengths long — the left panel. The lobes are the directions where the
two paths arrive in phase.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/dspira/images/interferometry/fringes.png&quot; alt=&quot;Fringe pattern of a two-element interferometer&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#&quot;&gt;↑ Go to the Top of the Page&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-effect-of-bandwidth&quot;&gt;The effect of bandwidth&lt;/h2&gt;

&lt;p&gt;The right panel above is the same interferometer observing across a wide band
rather than at one frequency. Across the band, the baseline length in wavelengths changes. Each frequency places its lobes differently, so averaging washes out the pattern. Near \( \theta = 90^\circ \), the geometric delay is zero and all frequencies agree.&lt;/p&gt;

&lt;p&gt;This is &lt;strong&gt;bandwidth decorrelation&lt;/strong&gt;. A broadband interferometer sees clearly only near the direction where its delays match. Arrays compensate with a delay that tracks the source. The zero-delay direction follows the target instead of remaining at the zenith.&lt;/p&gt;

&lt;p&gt;DSPIRA’s two-horn setup produces its sharpest fringes for sources transiting near the phase center. Narrowing the band preserves fringes across a wider region, at the cost of sensitivity.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;#&quot;&gt;↑ Go to the Top of the Page&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;where-to-go-next&quot;&gt;Where to go next&lt;/h2&gt;

&lt;p&gt;Two elements give you one spatial frequency at a time. Earth’s rotation sweeps the baseline through the Fourier plane. More antennas fill that plane faster. This process is aperture synthesis.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://github.com/ratt-ru/foi-course&quot;&gt;&lt;strong&gt;Fundamentals of Radio Interferometry&lt;/strong&gt;&lt;/a&gt; for the standard treatment. Rhodes University and the National Astrophysics and Space Science Programme produced this course book. It is free to read and uses runnable notebooks. Chapter 4, &lt;em&gt;Visibility Space&lt;/em&gt;, continues from this page. Start there.&lt;/p&gt;

&lt;p&gt;Closer to home, and worth doing in this order:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/2Horn_AddingInterferometry_LightWorkMemo31.pdf&quot;&gt;Additive Interferometry Using Two DSPIRA Radio Horn Telescopes&lt;/a&gt; — LightWork Memo 31. This is a measured version of the fringe pattern above. A solar transit on a 5.0 m baseline produced 0.043 rad spacing, compared with 0.042 rad predicted. This is what the theory on this page looks like when it comes out of a real horn.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/dspira/SettingUp2HornInterferometer&quot;&gt;Setting up a 2 Horn Interferometer&lt;/a&gt; — building one and running it&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/dspira/Interferometry&quot;&gt;Interferometry&lt;/a&gt; — the rest of the interferometry material on this site&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/dspira/dsplab-fourier1/&quot;&gt;Fourier Analysis&lt;/a&gt; and &lt;a href=&quot;/dspira/dsplab-fourier2/&quot;&gt;Expert Mode&lt;/a&gt; — the transforms this page leans on&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href=&quot;#&quot;&gt;↑ Go to the Top of the Page&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;credits&quot;&gt;Credits&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Pranav Sanghavi&lt;/strong&gt; wrote this page’s text, equations, and code at WVU’s Radio Astronomy Instrumentation Laboratory on May 21, 2018. They are published under this site’s MIT license. The notebook was ported from Python 2 to Python 3 in 2026. The autocorrelation figure was added then; the remaining material is his.&lt;/p&gt;

&lt;p&gt;The definition of convolution is quoted from
&lt;a href=&quot;https://en.wikipedia.org/wiki/Convolution&quot;&gt;Wikipedia&lt;/a&gt; under CC BY-SA 4.0.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fundamentals of Radio Interferometry&lt;/em&gt; is a separate work licensed under GPL v2. Its authors are the Rhodes University Centre for Radio Astronomy Techniques &amp;amp; Technologies and the NASSP community. It is linked above rather than reproduced.&lt;/p&gt;
</description>
        <pubDate>Sat, 15 Aug 2026 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/correlation-and-interferometry/</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/correlation-and-interferometry/</guid>
      </item>
    
      <item>
        <title>Interferometry</title>
        <description>&lt;p&gt;Two horns a few metres apart, pointed at the same patch of sky, make an interferometer. As a source drifts across the beams, the path length to each horn changes. The two signals move in and out of step. Their combined power rises and falls in a fringe pattern. The distance between the horns sets the fringe spacing. That relationship makes this arrangement useful.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;/dspira/correlation-and-interferometry/&quot;&gt;Correlation and the Two-Element Interferometer&lt;/a&gt; - Where the fringes come from. Covers convolution, autocorrelation, and cross-correlation. Explains resolution limits for a single dish, adding and multiplying arrangements, and the effects of finite bandwidth. Comes with a notebook you can run.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;/dspira/FilesUploaded/2Horn_AddingInterferometry_LightWorkMemo31.pdf&quot;&gt;Additive Interferometry Using Two DSPIRA Radio Horn Telescopes&lt;/a&gt; - LightWork Memo 31, by John Makous. Derives additive interferometry from the path length difference. Describes the two-horn system tested at Green Bank and its solar transit on a 5.0 m baseline. The measured fringe spacing was 0.043 rad, compared with the predicted 0.042 rad. The ending mentions signal multiplication as work the group had completed but had not yet written up.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;/dspira/SettingUp2HornInterferometer&quot;&gt;Setting Up a 2 Horn Interferometer&lt;/a&gt; is the practical companion. It covers equipment, wiring, east-west alignment, and operation of the adding or multiplying spectrometer.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Thu, 03 Aug 2023 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/Interferometry</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/Interferometry</guid>
      </item>
    
      <item>
        <title>Installing gr-radio_astro on Ubuntu 20.04</title>
        <description>&lt;p&gt;This historical guide uses the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gr38&lt;/code&gt; release line. Its application paths refer to that preserved version.
For current software, use the &lt;a href=&quot;/dspira/software/&quot;&gt;DSPIRA software guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This installs &lt;em&gt;spectrometer_w_cal.grc&lt;/em&gt; and other GNU Radio astronomy programs on Ubuntu 20.04.&lt;/p&gt;

&lt;p&gt;Complete the following steps:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;Open a terminal window in Ubuntu.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Install GNU Radio external python dependencies and SDR drivers by typing the following and hit enter:
    &lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo apt install gnuradio gr-osmosdr airspy python3-h5py python3-ephem git cmake liborc-0.4-dev -y
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;To clone the repository: in the terminal, type and Enter: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone https://github.com/WVURAIL/gr-radio_astro.git&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Switch to the gr-radio_astro directory: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd gr-radio_astro&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Switch to the gr-radio_astro 3.8 branch by typing: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git checkout gr38&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Make a build directory: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mkdir build&lt;/code&gt;, and then move to it: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd build&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Then run the following in the build directory:&lt;/p&gt;

    &lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;cmake ..
sudo make
sudo make install
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
    &lt;p&gt;&lt;strong&gt;Additional Steps for setting the proper Python environment:&lt;/strong&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Open a terminal window.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Make sure you are at the home directory (type and Enter &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd&lt;/code&gt; ). Then type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gedit .bashrc&lt;/code&gt; to open the &lt;em&gt;.bashrc&lt;/em&gt; file in an editor.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Scroll to the file’s bottom and add a blank line. Paste this code: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;export PYTHONPATH=/usr/local/lib/python3/dist-packages:/usr/local/lib/python3.8/dist-packages:$PYTHONPATH&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Save and close (x in upper right corner).&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Additionally you can create appropriate symbolic links
    &lt;ol&gt;
      &lt;li&gt;Open &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gnuradio-companion&lt;/code&gt; in a terminal, then click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Help --&amp;gt; About&lt;/code&gt;. Note the Python version in the dialog.&lt;/li&gt;
      &lt;li&gt;For Python 3.8, type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd /usr/local/lib/python3.8/dist-packages&lt;/code&gt;. For Python 3.9, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd /usr/local/lib/python3.9/dist-packages&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ln -s /usr/local/lib/python3/dist-packages/radio_astro&lt;/code&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Check that the Installation was Successful&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;em&gt;Restart your terminal window&lt;/em&gt;. Run the program in GNU Radio:
    &lt;ul&gt;
      &lt;li&gt;In a terminal window type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gnuradio-companion&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Open the &lt;em&gt;spectrometer_w_cal.grc&lt;/em&gt; program as follows:&lt;/p&gt;

        &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;File --&amp;gt; Open --&amp;gt; gr-radio_astros --&amp;gt; examples --&amp;gt; *spectrometer_w_cal.grc* &lt;/code&gt;&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;Plug an Airspy radio, with the LNA attached, into the USB port. Run the program by hitting the start triangle (“execute the flowgraph”) on the menu bar at top. If no errors occur, you are all set!&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;how-to-update-files-from-the-gr-radio_astro-gr38-repository&quot;&gt;How to Update files from the gr-radio_astro gr38 Repository&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;Open the terminal window.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;From your home directory (cd ), go to the gr-radio_astro folder: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd gr-radio_astro&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git status&lt;/code&gt;. Check the “On branch …” statement at the top. You want to be in the gr38 branch. To get there, type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git checkout gr38&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;If a warning message shows up about local changes made that could overwrite files, type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git stash&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git status&lt;/code&gt; to check that you are “On branch gr38”.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git pull&lt;/code&gt;.
    &lt;ul&gt;
      &lt;li&gt;If a warning message shows up about local changes made that could overwrite files, type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git stash&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Then type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git pull&lt;/code&gt; again.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Change to the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;build&lt;/code&gt; directory: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd build&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rm -rf *&lt;/code&gt;. NOTE: Make sure you are in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;build&lt;/code&gt; directory before typing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rm -rf *&lt;/code&gt;!&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Then run the following:
    &lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;cmake ..
sudo make
sudo make install
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;The update is complete.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;To Run the __spectrometer_w_cal.grc__ program in GNU Radio After Updating:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;In a terminal window type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gnuradio-companion&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Close any previous version of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;spectrometer_w_cal.grc&lt;/code&gt; that might be open in GNU Radio.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Open the new version of &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;spectrometer_w_cal.grc&lt;/code&gt; from the folder &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/gr-radio_astro/examples/&lt;/code&gt;&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;File&lt;/code&gt; select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Open&lt;/code&gt;;&lt;/li&gt;
      &lt;li&gt;Navigate to the&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt; gr-radio_astro&lt;/code&gt; folder.&lt;/li&gt;
      &lt;li&gt;Under &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;examples&lt;/code&gt; open &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;DSPIRA&lt;/code&gt;; then select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;spectrometer_w_cal.grc&lt;/code&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Connect an Airspy SDR to USB. Start the program (click the black triangle at the top center of the ribbon bar.)&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

</description>
        <pubDate>Tue, 27 Jun 2023 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/gr_radio_astro_Installation_Ubuntu20</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/gr_radio_astro_Installation_Ubuntu20</guid>
      </item>
    
      <item>
        <title>Installing Ubuntu</title>
        <description>&lt;p&gt;&lt;em&gt;Our software works under Ubuntu versions 22.04 LTS and older.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Installing Ubuntu on a Windows computer requires three steps. Partition the hard drive, create a bootable Ubuntu flash drive, and install Ubuntu on the partition:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A. Partition a Hard Drive&lt;/strong&gt; - Before installing Ubuntu on the hard disk, you need to partition the hard disk in Windows.&lt;/p&gt;

&lt;p&gt;NOTE: A hard drive with at least 250 GB is recommended.&lt;/p&gt;

&lt;p&gt;Before proceeding, check that Device Encryption is OFF. (This is also known as Bitlocker.) For most Windows systems, this can be done as follows:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Boot up the computer in Windows.&lt;/li&gt;
  &lt;li&gt;Open the &lt;em&gt;Start&lt;/em&gt; menu.
    &lt;ul&gt;
      &lt;li&gt;In the search box type “encryption”.&lt;/li&gt;
      &lt;li&gt;In the menu that pops up, click on &lt;em&gt;Manage Bitlocker&lt;/em&gt;.&lt;/li&gt;
      &lt;li&gt;Verify that it is off and turn off if needed.&lt;/li&gt;
      &lt;li&gt;If you disable encryption, wait for Windows to finish decrypting the drive before proceeding. This could take some time.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now you are ready to partition the hard drive.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open a Command Prompt window with admin rights, as follows:
    &lt;ul&gt;
      &lt;li&gt;In the search field, type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Command Prompt&lt;/code&gt;, or just CMD.&lt;/li&gt;
      &lt;li&gt;Click on &lt;em&gt;Run as Administrator&lt;/em&gt; from the selections on the right side of the window that pops up.&lt;/li&gt;
      &lt;li&gt;Click &lt;em&gt;Yes&lt;/em&gt; on the pop-up to allow the app to make changes to your device.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;In the Command Prompt window that pops up, enter the command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;diskmgmt.msc&lt;/code&gt; to open the Disk Management utility.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;In Disk Management, right-click &lt;em&gt;OS (C:)&lt;/em&gt;. Select &lt;em&gt;Shrink Volume&lt;/em&gt; to reduce the partition size.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;Wait for the partition-size query to finish. Enter the amount of space to reclaim, then click &lt;em&gt;Shrink&lt;/em&gt;. The amount chosen to shrink will be the amount that will be allotted to Ubuntu. This should be an absolute minimum of 50 GB; we recommend at least 100 GB.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After the shrink process completes, a new unallocated space will be present in your drive. We’ll use this free space to install Ubuntu alongside Windows, as described below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;B. Download Ubuntu 22.04 onto a Bootable Flashdrive&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;You need to &lt;a href=&quot;http://releases.ubuntu.com/22.04/&quot; target=&quot;_blank&quot;&gt;download Ubuntu Desktop 22.04 ISO&lt;/a&gt; onto the hard drive in Windows. You want to choose the Desktop version. It will take some time to download this file.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Download &lt;a href=&quot;https://etcher.balena.io/&quot; target=&quot;_blank&quot;&gt;BalenaEtcher&lt;/a&gt; for Windows and install it if you don’t already have it.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Install a 32 GB or larger flash drive in the usb port.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Run &lt;em&gt;BalenaEtcher&lt;/em&gt;. Choose the Ubuntu 22.04.iso file as the image and the flash drive as the target. It will take some time for this to run.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;C. Install Ubuntu 22.04 Alongside Windows&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;Turn off the computer. Place the bootable flash drive in the USB port. Turn on the computer, holding down the bootable key (F12) in order to boot from the Ubuntu USB bootable image.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;On the first installation screen, select &lt;em&gt;Install Ubuntu&lt;/em&gt; and hit Enter to start the installation process. Complete the prompts as needed.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;After the installation is complete, you will restart the computer. Choose the Ubuntu option from the menu that appears.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Check the date and time&lt;/strong&gt; displayed on your computer. If it is not correct, it must be corrected in order for the installation to be completed successfully. This can be changed in the &lt;em&gt;Date &amp;amp; Time&lt;/em&gt; menu under &lt;em&gt;Settings&lt;/em&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Open a &lt;em&gt;Terminal&lt;/em&gt; window. This can be found in the &lt;em&gt;Show Applications&lt;/em&gt; waffle in the lower left corner of the screen.&lt;/p&gt;

    &lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Most of the commands we use are entered in a &lt;em&gt;Terminal&lt;/em&gt; window. We recommend adding the &lt;em&gt;Terminal&lt;/em&gt; to your Favorites to be accessed easily.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;With the time being correct, in a &lt;em&gt;Terminal&lt;/em&gt; window type and enter &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt update&lt;/code&gt;. Then type and enter &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt upgrade&lt;/code&gt;. This will bring the Ubuntu installation up to date.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Ubuntu OS is now ready to use.&lt;/p&gt;
</description>
        <pubDate>Tue, 27 Jun 2023 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/Ubuntu_Installation</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/Ubuntu_Installation</guid>
      </item>
    
      <item>
        <title>Setting Up a 2 Horn Interferometer</title>
        <description>&lt;h2 id=&quot;procedure-for-setting-up-a-2-horn-interferometer&quot;&gt;Procedure for Setting Up a 2 Horn Interferometer&lt;/h2&gt;

&lt;p&gt;Set up and run a two-horn interferometer with a Lime SDR and GNU Radio. The GNU Radio spectrometer programs write time-stamped data files once every integration time. The adding spectrometer is &lt;a href=&quot;https://github.com/WVURAIL/dspira/blob/master/FilesUploaded/interferometer_simpleSpectrometer_Lime_adding.grc&quot;&gt;Interferometer_SimpleSpectrometer_Adding.grc&lt;/a&gt;. Its data includes spectra for horns A and B, plus power spectra from their summed signals. The multiplying spectrometer is &lt;a href=&quot;https://github.com/WVURAIL/dspira/blob/master/FilesUploaded/interferometer_simpleSpectrometer_Lime_multiplying.grc&quot;&gt;Interferometer_SimpleSpectrometer_Multiplying.grc&lt;/a&gt;. Its data includes spectra for horns A and B, plus interference magnitude and phase.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;List of Equipment&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;2 Horn telescopes, each consisting of:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;horn and can antennae&lt;/li&gt;
          &lt;li&gt;cradle&lt;/li&gt;
          &lt;li&gt;stand&lt;/li&gt;
          &lt;li&gt;bolts for cradle axle&lt;/li&gt;
          &lt;li&gt;clamps - recommended to secure the cradle position after the horn is aligned&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Electronics&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;computer with the GNU Radio spectrometer program on it:
            &lt;ul&gt;
              &lt;li&gt;adding spectrometer program:  &lt;a href=&quot;https://github.com/WVURAIL/dspira/blob/master/FilesUploaded/interferometer_simpleSpectrometer_Lime_adding.grc&quot;&gt;Interferometer_SimpleSpectrometer_Adding.grc&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;multiplying spectrometer program: &lt;a href=&quot;https://github.com/WVURAIL/dspira/blob/master/FilesUploaded/interferometer_simpleSpectrometer_Lime_multiplying.grc&quot;&gt;Interferometer_SimpleSpectrometer_Multiplying.grc&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;Lime SDR with USB cable to connect to a computer – This SDR can digitize 2 channels.&lt;/li&gt;
          &lt;li&gt;2 bias T’s for powering the LNA’s; the Lime does not provide power to the LNA’s.&lt;/li&gt;
          &lt;li&gt;5 V transformer to power the bias T’s&lt;/li&gt;
          &lt;li&gt;2 SMA cables to connect the Lime Rx outputs to the “RF” inputs of the bias T’s&lt;/li&gt;
          &lt;li&gt;2 long SMA cables to connect the “RF+dc” outputs of the bias T’s to the LNA’s&lt;/li&gt;
          &lt;li&gt;2 LNA’s&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Accessories for setting up&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;duct tape - recommended for taping the devices and cables in place&lt;/li&gt;
          &lt;li&gt;inclinometer - recommended for setting the telescope angle&lt;/li&gt;
          &lt;li&gt;E-W (N-S) line - critical!
            &lt;ul&gt;
              &lt;li&gt;best method: determined, prior to a run, from the shadow of a vertical pole or string at sun’s transit&lt;/li&gt;
              &lt;li&gt;or determine using an accurate compass&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;Large protractor to help orient the telescopes&lt;/li&gt;
          &lt;li&gt;pliers for tightening the horn rotation axis&lt;/li&gt;
          &lt;li&gt;string - can be useful for aiding the alignment of the horns relative to each other&lt;/li&gt;
          &lt;li&gt;tape measure&lt;/li&gt;
          &lt;li&gt;tent in case of rain&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Schematic Diagram and photo of the electrical connections&lt;/p&gt;

    &lt;p&gt;&lt;img src=&quot;/dspira/FilesUploaded/Interferometer_electrical_schematic.png&quot; alt=&quot;electrical connection schematic&quot; /&gt;&lt;/p&gt;

    &lt;p&gt;&lt;img src=&quot;/dspira/FilesUploaded/interferometer_electrical_connections_photo.png&quot; alt=&quot;electrical connection photo&quot; /&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Setting up the horns&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Assemble 2 horns as would be done for a single horn observation.&lt;/li&gt;
      &lt;li&gt;For an east-west baseline, align the horns in parallel toward the same sky position (e.g. the transiting Sun).&lt;/li&gt;
      &lt;li&gt;Here are some tips:
        &lt;ul&gt;
          &lt;li&gt;Sometime before doing interferometry, establish the N-S direction marking the shadow of a vertical pole when the sun transits.&lt;/li&gt;
          &lt;li&gt;For an east-west baseline, use a large compass or square. Mark the east-west direction perpendicular to north-south. A tape measure or string can be useful for doing this.&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Setting up the electrical connections - REFER TO THE PHOTO ABOVE&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;The cable connected to RX1 on the Lime SDR collects “Horn A” data. RX2 collects Horn B data.&lt;/li&gt;
      &lt;li&gt;Plug in the 5 V dc transformer that powers the bias-T’s. Check that the power strip is on.&lt;/li&gt;
      &lt;li&gt;The “RF”  terminal of each bias-T is connected to the respective RX1 and RX2 on the Lime.&lt;/li&gt;
      &lt;li&gt;The “RF + dc” terminal of each bias-T is connected to the respective LNA.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;b&gt;NOTE ABOUT COMPUTER POWER:&lt;/b&gt; Be sure the computer power settings are such that it does not go to sleep. Also, for longer runs it is recommended to have the computer plugged in during the run.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;b&gt;For Adding Interferometry:&lt;/b&gt;&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;Run the spectrometer program Interferometer_SimpleSpectrometer_Adding.grc&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Plug the Lime SDR into a USB port.&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;On the computer set up the file directories for data collection:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;
            &lt;p&gt;Create a folder appropriately titled for the data collection, e.g. “Sun_scan_July21”. Be sure any folders and filenames have no spaces in them.&lt;/p&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;p&gt;Run GNU Radio: $ gnuradio-companion&lt;/p&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;p&gt;Open the Variable boxes described below in Interferometer_SimpleSpectrometer_Adding.grc. They are at the upper left of the GNU Radio canvas:&lt;/p&gt;

            &lt;ul&gt;
              &lt;li&gt;
                &lt;p&gt;Open the “prefix_hornA” Variable block (double-click it). For “Value” type the pathname to the subfolder that will be used to collect the spectrum of Horn A. This must be in quotes. In this example, horn A data goes into “magnitude_july21”. That folder is inside “sun_july21”, which is inside “interferometer_data”. This will be written in the prefix-hornA Variable box as: “/home/john/dspira_2021/interferometer_data/sun_july21/hornA_july21/”&lt;/p&gt;
              &lt;/li&gt;
              &lt;li&gt;
                &lt;p&gt;Set up similar file pathnames in the Variable blocks “prefix_hornB” and “prefix_adding”.&lt;/p&gt;
              &lt;/li&gt;
              &lt;li&gt;
                &lt;p&gt;Be sure these sub-folders on the computer have been created.&lt;/p&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;If all is good, you are ready to go. Delete the test files in each folder (not required but recommended).&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Start the program. Select “Long Integration” and “Writing to File”. If all is good, the graphs should show signals being collected.&lt;/p&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;b&gt;For Multiplying Interferometry:&lt;/b&gt;&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;Run the spectrometer program Interferometer_SimpleSpectrometer_Multiplying.grc&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Plug the Lime SDR into a USB port.&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;On the computer set up the file directories for data collection:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;
            &lt;p&gt;Create a folder appropriately titled for the data collection, e.g. “Sun_scan_July21”. Be sure any folders and filenames have no spaces in them.&lt;/p&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;p&gt;Run GNU Radio: $ gnuradio-companion&lt;/p&gt;
          &lt;/li&gt;
          &lt;li&gt;
            &lt;p&gt;Open the Variable boxes described below in Interferometer_SimpleSpectrometer_Multiplying.grc. They are at the upper left of the GNU Radio canvas:&lt;/p&gt;

            &lt;ul&gt;
              &lt;li&gt;
                &lt;p&gt;Open the “prefix_mag” Variable block (double-click it). For “Value” type the pathname to the subfolder that will be used to collect the spectrum of Horn A. This must be in quotes. In this example, interference magnitude data goes into “magnitude_july21”. That folder is inside “sun_july21”, which is inside “interferometer_data”. This will be written in the prefix-mag Variable box as: “/home/john/dspira_2021/interferometer_data/sun_july21/magnitude_july21/”&lt;/p&gt;
              &lt;/li&gt;
              &lt;li&gt;
                &lt;p&gt;Set up similar file pathnames in the Variable blocks “prefix_phase”, “prefix_hornA”, and “prefix_hornB”.&lt;/p&gt;
              &lt;/li&gt;
              &lt;li&gt;
                &lt;p&gt;Be sure these sub-folders on the computer have been created.&lt;/p&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;If all is good, you are ready to go. Delete the test files in each folder (not required but recommended).&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Start the program. Select “Long Integration” and “Writing to File”. If all is good, the graphs should show signals being collected.&lt;/p&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

</description>
        <pubDate>Mon, 11 Jul 2022 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/SettingUp2HornInterferometer</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/SettingUp2HornInterferometer</guid>
      </item>
    
      <item>
        <title>PlutoSDR software Installation</title>
        <description>&lt;p&gt;The steps below outline the installation of software that is needed to run the Pluto SDR in GNU Radio. Find GNU Radio and IIO device information at: &lt;a href=&quot;https://wiki.analog.com/resources/tools-software/linux-software/gnuradio&quot;&gt;Analog Devices documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Install Dependencies&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open a terminal window. Then type (or copy and paste) and enter the following:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt install libxml2 libxml2-dev bison flex cmake git libaio-dev libboost-all-dev&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt install libusb-1.0-0-dev&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt install libavahi-common-dev libavahi-client-dev&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone https://github.com/analogdevicesinc/libiio.git&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd libiio&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cmake .&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;make&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo make install&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd ..&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Download and build libad9361-iio&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone https://github.com/analogdevicesinc/libad9361-iio.git&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd libad9361-iio&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cmake .&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;make&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo make install&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd ..&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Additional Installations&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt install bison flex cmake git libgmp-dev&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo apt install liborc-dev&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Build and install gr-iio from source:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;git clone -b upgrade-3.8 https://github.com/analogdevicesinc/gr-iio.git&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd gr-iio&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cmake .&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;make&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo make install&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd ..&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo ldconfig&lt;/code&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Your system should now be ready to install the PlutoSDR Source block in GNU Radio. If there are any problems, refer to the information at: &lt;a href=&quot;https://wiki.analog.com/resources/tools-software/linux-software/gnuradio&quot;&gt;https://wiki.analog.com/resources/tools-software/linux-software/gnuradio&lt;/a&gt;&lt;/p&gt;
</description>
        <pubDate>Wed, 04 Aug 2021 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/PlutoSDR_installation</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/PlutoSDR_installation</guid>
      </item>
    
      <item>
        <title>Other Horn Designs</title>
        <description>&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;strong&gt;Baby DSPIRA Horn&lt;/strong&gt; is a smaller version of the design above. Find instructions in this &lt;a href=&quot;/dspira/FilesUploaded/MiniHorn_construction.pdf&quot;&gt;PDF&lt;/a&gt; and these &lt;a href=&quot;https://youtube.com/playlist?list=PLxSg3s3C3JCH2yBC_kHLGCpd0tqQ6gM1h&quot;&gt;videos&lt;/a&gt;. This includes a cradle and stand as part of its construction. This design uses the same components and software as the standard DSPIRA horn described here. It provides easy use and is good for demonstrations.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;/lightwork/memos/LightWorkMemo021-r6.pdf&quot;&gt;Radio Telescope Base Construction Guide&lt;/a&gt; - Instructions for building a radio horn telescope similar in design to the DSPIRA horn.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;/lightwork/memos/LightWorkMemo022-r13.pdf&quot;&gt;Cone Horn Construction&lt;/a&gt; - Instructions for building a cylindrical radio horn with a cylindrical can.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

</description>
        <pubDate>Thu, 29 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/Other_Horn_Designs</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/Other_Horn_Designs</guid>
      </item>
    
      <item>
        <title>Build a Simple Spectrometer</title>
        <description>&lt;ul&gt;
  &lt;li&gt;Introductory Lessons on Using GNU Radio and Some Basic DSP
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/Gnuradio_Lesson1_simpleWaveform.pdf&quot;&gt;Lesson 1&lt;/a&gt; - Introduction to GNU Radio basics.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/Gnuradio_Lesson2_MultipleSources.pdf&quot;&gt;Lesson 2&lt;/a&gt; - Learning more GNU Radio tools building a multiple waveform source.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/Gnuradio_Lesson3_FourierSeries.pdf&quot;&gt;Lesson 3&lt;/a&gt; - Demonstration of Fourier series.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/Gnuradio_Lesson4_FFT.pdf&quot;&gt;Lesson 4&lt;/a&gt; - Demonstration of how an FFT block works.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/Gnuradio_Lesson5_Filters.pdf&quot;&gt;Lesson 5&lt;/a&gt; - Filter basics.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/dspira/FilesUploaded/BuildingSimpleSpectrometer_Explained.pdf&quot;&gt;Build a Simple Spectrometer&lt;/a&gt; - Directions on building a simple spectrometer for a horn telescope, with detailed explanations of the blocks.&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sun, 04 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/Simple_Spectrometer</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/Simple_Spectrometer</guid>
      </item>
    
      <item>
        <title>Raspberry Pi</title>
        <description>&lt;p&gt;Raspberry Pis are inexpensive. Newer models can handle the GNU Radio signal processing needed for radio astronomy.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#supported-raspberry-pi-devices&quot;&gt;Supported Raspberry Pi Devices&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#installing-ubuntu-image-with-radio-astronomy-preinstalled-on-a-raspberry-pi&quot;&gt;Installing Ubuntu image with radio astronomy preinstalled on a Raspberry Pi&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#setting-os-and-installing-software-from-scratch&quot;&gt;Setting OS and installing software from scratch&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#operating-system-requirement&quot;&gt;Operating system requirement&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#installing-ubuntu-on-raspberry-pi&quot;&gt;Installing Ubuntu on Raspberry Pi&lt;/a&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#prerequisites&quot;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#post-os-installation-actions&quot;&gt;Post OS Installation actions&lt;/a&gt;
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;#interacting-with-the-raspberry-pi&quot;&gt;Interacting with the Raspberry Pi&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#installing-gr-radio_astro&quot;&gt;Installing gr-radio_astro&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;supported-raspberry-pi-devices&quot;&gt;Supported Raspberry Pi Devices&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;All devices must have RAM greater than 4GB&lt;/em&gt;&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Raspberry Pi 4 Model B&lt;/li&gt;
  &lt;li&gt;Raspberry Pi 400&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;installing-ubuntu-image-with-radio-astronomy-preinstalled-on-a-raspberry-pi&quot;&gt;Installing Ubuntu image with radio astronomy preinstalled on a Raspberry Pi&lt;/h2&gt;
&lt;p&gt;This image requires a minimum of 16GB of space on the SD card.&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Download the image &lt;a href=&quot;https://drive.google.com/file/d/1KzfgMEwgwTTZUaCeNR5kRgLj9MfMKyAh/view?usp=sharing&quot;&gt;here&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Unzip the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.zip&lt;/code&gt; file.&lt;/li&gt;
  &lt;li&gt;Use &lt;a href=&quot;https://www.raspberrypi.org/software/&quot;&gt;Raspberry Pi Imager&lt;/a&gt; to install this image.
    &lt;ol&gt;
      &lt;li&gt;Insert SD card into your card reader on your computer&lt;/li&gt;
      &lt;li&gt;Open Raspberry Pi imager.&lt;/li&gt;
      &lt;li&gt;Click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Choose OS&lt;/code&gt;, and choose &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Use Custom&lt;/code&gt;.&lt;/li&gt;
      &lt;li&gt;Select the correct image file downloaded in step 1 and 2 from your system.&lt;/li&gt;
      &lt;li&gt;Click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Choose storage&lt;/code&gt; and select your inserted SD card.&lt;/li&gt;
      &lt;li&gt;Click write.&lt;/li&gt;
      &lt;li&gt;More info &lt;a href=&quot;https://www.raspberrypi.org/documentation/installation/installing-images/&quot;&gt;here&lt;/a&gt; and a &lt;a href=&quot;https://www.youtube.com/watch?v=ntaXWS8Lk34&quot;&gt;video&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
  &lt;li&gt;Insert SD card to Raspberry Pi and power it up.&lt;/li&gt;
  &lt;li&gt;The default user name is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pi&lt;/code&gt;, with password &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;raspberry&lt;/code&gt;. Change the password after first boot.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;setting-os-and-installing-software-from-scratch&quot;&gt;Setting OS and installing software from scratch.&lt;/h2&gt;

&lt;p&gt;Use the sections below to choose an operating system, install Ubuntu, and set up the radio astronomy software.&lt;/p&gt;
&lt;h3 id=&quot;operating-system-requirement&quot;&gt;Operating system requirement&lt;/h3&gt;

&lt;ol&gt;
  &lt;li&gt;Ubuntu for Raspberry Pi &lt;a href=&quot;https://ubuntu.com/raspberry-pi&quot;&gt;Click here for more Info&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This historical setup guide describes older GNU Radio versions. For the maintained library and classroom applications, use the &lt;a href=&quot;/dspira/software/&quot;&gt;software guide&lt;/a&gt;.&lt;/p&gt;

&lt;h3 id=&quot;installing-ubuntu-on-raspberry-pi&quot;&gt;Installing Ubuntu on Raspberry Pi&lt;/h3&gt;
&lt;h4 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h4&gt;

&lt;ol&gt;
  &lt;li&gt;Support Raspberry Pi&lt;/li&gt;
  &lt;li&gt;A microSD card (9GB minimum, 16GB recommended)&lt;/li&gt;
  &lt;li&gt;A computer with a microSD card drive&lt;/li&gt;
  &lt;li&gt;A micro USB-C power cable&lt;/li&gt;
  &lt;li&gt;A monitor with an HDMI interface (Optionally for installing Ubuntu Server)&lt;/li&gt;
  &lt;li&gt;A micro HDMI cable (Optionally for installing Ubuntu Server)&lt;/li&gt;
  &lt;li&gt;A USB keyboard and mouse (Optionally for installing Ubuntu Server)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href=&quot;https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview&quot; target=&quot;_blank&quot;&gt;Instructions from Ubuntu to install the OS on the Raspberry Pi 4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;NOTE&lt;/em&gt;: Firstly, for Ubuntu desktop a monitor and mouse and keyboard is required. For command-line access without Ubuntu’s desktop interface, install Ubuntu Server. See &lt;a href=&quot;https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview&quot; target=&quot;_blank&quot;&gt;instruction for Ubuntu server installation here&lt;/a&gt;. Secondly, Raspberry Pi is built on an ARM based architecture  any version of Ubuntu will not work. The OS has to specific to the Pi.&lt;/p&gt;

&lt;h3 id=&quot;post-os-installation-actions&quot;&gt;Post OS Installation actions:&lt;/h3&gt;

&lt;h4 id=&quot;interacting-with-the-raspberry-pi&quot;&gt;Interacting with the Raspberry Pi&lt;/h4&gt;

&lt;ol&gt;
  &lt;li&gt;Using a monitor and mouse and keyboard like any other desktop.&lt;/li&gt;
  &lt;li&gt;Using SSH:
    &lt;ol&gt;
      &lt;li&gt;This method can be used on any machine with ssh server enabled.&lt;/li&gt;
      &lt;li&gt;Install X server on your computer. &lt;a href=&quot;https://sourceforge.net/projects/vcxsrv/&quot; target=&quot;_blank&quot;&gt;VcXsrv&lt;/a&gt; on windows and &lt;a href=&quot;https://www.xquartz.org/&quot; target=&quot;_blank&quot;&gt;XQuartz&lt;/a&gt; for macOS.&lt;/li&gt;
      &lt;li&gt;Power up the Raspberry Pi and connect your computer via ethernet cable&lt;/li&gt;
      &lt;li&gt;First we need to determine the IP address of the raspberry PI: &lt;a href=&quot;https://www.raspberrypi.org/documentation/remote-access/ip-address.md&quot; target=&quot;_blank&quot;&gt;How to determine Raspberry PI IP address&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;If the determined IP address is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;IP address&amp;gt;&lt;/code&gt; then in the terminal type &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh -Y pi@&amp;lt;IP address&amp;gt;&lt;/code&gt;&lt;/li&gt;
      &lt;li&gt;More info on SSH &lt;a href=&quot;https://www.raspberrypi.org/documentation/remote-access/ssh/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
  &lt;li&gt;Using PuTTY on Windows:
    &lt;ol&gt;
      &lt;li&gt;&lt;a href=&quot;https://www.putty.org&quot; target=&quot;_blank&quot;&gt;Download PuTTY&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;Add IP address in the hostname field.&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
  &lt;li&gt;Using VNC: More info &lt;a href=&quot;https://www.raspberrypi.org/documentation/remote-access/vnc/README.md&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h4 id=&quot;installing-gr-radio_astro&quot;&gt;Installing gr-radio_astro&lt;/h4&gt;

&lt;p&gt;&lt;a href=&quot;/dspira/gr_radio_astro_Installation&quot; class=&quot;btn btn-wvu-blue&quot; target=&quot;_blank&quot;&gt;Installing gr-radio_astro&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notes: run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;volk_profile&lt;/code&gt; after installing everything to make sure GNU Radio is optimized to work on your device.&lt;/p&gt;

&lt;p&gt;.&lt;/p&gt;
</description>
        <pubDate>Thu, 01 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/RaspberryPi</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/RaspberryPi</guid>
      </item>
    
      <item>
        <title>Installing gr-radio_astro</title>
        <description>&lt;p&gt;The shared &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gr-radio_astro&lt;/code&gt; library supplies GNU Radio blocks. Classroom applications now come from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dspira-software&lt;/code&gt;.
Install the library first, then download the applications separately.&lt;/p&gt;

&lt;p&gt;These instructions target GNU Radio 3.10 on Ubuntu. For an older installation, see the
&lt;a href=&quot;/dspira/gr_radio_astro_Installation_Ubuntu20&quot;&gt;Ubuntu 20.04 and GNU Radio 3.8 guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;install-the-shared-library&quot;&gt;Install the shared library&lt;/h2&gt;

&lt;p&gt;Follow the &lt;a href=&quot;https://github.com/WVURAIL/gr-radio_astro#installing-from-source&quot;&gt;current library build instructions&lt;/a&gt;
to install GNU Radio, receiver drivers, and build dependencies.
Clone and build the shared library:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;git clone https://github.com/WVURAIL/gr-radio_astro.git
&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;gr-radio_astro
cmake &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;.&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-B&lt;/span&gt; build
cmake &lt;span class=&quot;nt&quot;&gt;--build&lt;/span&gt; build
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;cmake &lt;span class=&quot;nt&quot;&gt;--install&lt;/span&gt; build
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Check the repository’s Python environment instructions if GNU Radio cannot find the installed blocks.&lt;/p&gt;

&lt;h2 id=&quot;get-the-dspira-applications&quot;&gt;Get the DSPIRA applications&lt;/h2&gt;

&lt;p&gt;Use the &lt;a href=&quot;/dspira/software/&quot;&gt;software download page&lt;/a&gt; or clone the application repository from your home directory:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;cd
&lt;/span&gt;git clone https://github.com/WVURAIL/dspira-software.git
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Open &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dspira-software/flowgraphs/spectrometer_w_cal.grc&lt;/code&gt; in GNU Radio Companion.
The file no longer lives in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gr-radio_astro/examples/DSPIRA/&lt;/code&gt;.
Review the &lt;a href=&quot;https://github.com/WVURAIL/dspira-software/blob/main/docs/KNOWN_ISSUES.md&quot;&gt;known compatibility findings&lt;/a&gt;
before attempting to run it. Configure your receiver, output folders, and calibration settings.&lt;/p&gt;

&lt;h2 id=&quot;update-the-applications&quot;&gt;Update the applications&lt;/h2&gt;

&lt;p&gt;Keep a separate copy of any local receiver settings or customized flowgraphs before updating.
From the application checkout, run:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;git status
git pull &lt;span class=&quot;nt&quot;&gt;--ff-only&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If Git reports local changes, review and preserve them before continuing.
Application updates do not require rebuilding the shared library.&lt;/p&gt;

&lt;h2 id=&quot;update-the-shared-library&quot;&gt;Update the shared library&lt;/h2&gt;

&lt;p&gt;From the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gr-radio_astro&lt;/code&gt; checkout, review local changes and pull the update:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;git status
git pull &lt;span class=&quot;nt&quot;&gt;--ff-only&lt;/span&gt;
cmake &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;.&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-B&lt;/span&gt; build
cmake &lt;span class=&quot;nt&quot;&gt;--build&lt;/span&gt; build
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;cmake &lt;span class=&quot;nt&quot;&gt;--install&lt;/span&gt; build
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Close and reopen GNU Radio Companion after installing updated blocks.
Test the application with your equipment before relying on it in class.&lt;/p&gt;
</description>
        <pubDate>Thu, 01 Jul 2021 00:00:00 +0000</pubDate>
        <link>https://wvurail.org/dspira/gr_radio_astro_Installation</link>
        <guid isPermaLink="true">https://wvurail.org/dspira/gr_radio_astro_Installation</guid>
      </item>
    
  </channel>
</rss>
