Skip to content

Commit d63b640

Browse files
committed
- Fixed wwvbaq.c so that data acquisition driven by external 80kHz pacer
- Wrote README - Moved schematics into seperate directory - Removed antiquated "complexify.c", which has long been superseded by wwvbaq.c - Added "clean" entry in Makefile
1 parent 07b90f9 commit d63b640

17 files changed

+44317
-59
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Data/*
2+
wwvbaq
3+
tuneup

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# $Id$
22

3-
all : wwvbaq tuneup complexify
3+
EXECUTABLES=wwvbaq tuneup
4+
5+
all : $(EXECUTABLES)
46

57
wwvbaq : wwvbaq.c param.h
68
$(CC) -o wwvbaq -lm -lcomedi -lrt wwvbaq.c
79

8-
tuneup: param.h tuneup.c
10+
tuneup : param.h tuneup.c
911
$(CC) -o tuneup -lm tuneup.c
1012

11-
complexify: param.h complexify.c
12-
$(CC) -o complexify complexify.c
13-
13+
clean :
14+
rm $(EXECUTABLES)
15+
1416
# $Log$
1517
# Revision 1.6 2010-08-03 14:54:55 jpd
1618
# Added Matt's revisions:

README

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
(I) Overview
2+
3+
This directory contains the source code for an experiment John Doty and Matthew Wampler-Doty have been conducting which investigates whether cosmic gamma ray bursts are detectable by monitoring highly regular low bandwith radio signals (10kHZ to 100kHZ). The operating hypothesis is that cosmic gamma ray bursts cause ionization in the upper atmosphere, that in turn changes the phase of radio signals in the specified spectrum.
4+
5+
The WWVB atomic clock signal out of Fort Collins, CO pulses at 60kHZ exactly once every second. Every 10 minutes on the hour the phase of the signal is shifted by 45 degrees, and is then adjusted back after 5 minutes. We monitor this system using a custom designed high-precision ovenized crystal oscillator, which is used as an external trigger for the PCI-DAS1602 data acquisition card (by the company formerly known as Measurement Computing).
6+
7+
The data acquisition software is written in C using COMEDI. The data acquisition code assumes a RTLinux kernel, since it demands real-time priority.
8+
9+
After data is acquired, it is streamed through a python script. There the phase of the signal each second is calculated, as well as the amplitude. The WWVB uses an amplitude-shift keying system, so from the amplitude of each second a binary value (0 or 1) may be recovered. The time offset, phase, amplitude, the calculated binary values, and the number of winds (for the phase) are dumped to a tab seperated value file (tsv).
10+
11+
The WWVB encodes the time in these binary values; this code is described here:
12+
13+
http://en.wikipedia.org/wiki/WWVB
14+
15+
The time is then calculated from this signal. File names are time stamped using this measured time. The time is also used to control for the phase shift that occurs every five minutes on the hour.
16+
17+
The data gathered is intended to be used in comparison to other gamma ray burst events gathered by other means. To this end, we have written software for processing gamma ray burst data from the Fermi satellite. For each gamma ray burst, PyEphem is used to determine whether the event occured above or below the horizon of the location of the experiment (in this case, Pine, CO). An XEphem database of suitable events is compiled, which are used as reference points for data analysis of the experimental data.
18+
19+
20+
(II) Files & Directories
21+
22+
gEDA/ Schematics & Layouts for circuit components
23+
24+
fermi/ Python, Shell and AWK scripts for processing
25+
Fermi events, grabbed from:
26+
http://gcn.gsfc.nasa.gov/fermi_grbs.html
27+
28+
Data/ This directory is for collected data.
29+
Repository version should be empty
30+
31+
wwvbaq.c COMEDI driver for the PCI-DAS1602/16
32+
Outputs a stream of floats
33+
Realtime priority: 70
34+
35+
wwvbred.py A python script that processes raw data from the
36+
data acquisition card.
37+
Outputs a TSV file, with fields for
38+
(1) time of data-acquisition (as offset)
39+
(2) phase
40+
(3) amplitude
41+
(4) bit value
42+
(5) winding number
43+
File names are determined by time read from the bit-stream
44+
45+
wwvbaq.sh Runs the data acquisition process
46+
47+
wwvbaq_rename.py Renames data files based on time codes within
48+
49+
mvloop.sh Runs wwvbaq_rename.py repeatedly

complexify.c

Lines changed: 0 additions & 47 deletions
This file was deleted.

390.sym renamed to gEDA/390.sym

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)