Windows setiQuest Data tutorial

From setiquest wiki

Jump to: navigation, search

Contents

Windows setiQuest Data Tutorial

setiQuest member herpy provides this tutorial for using setiQuest Data on the Windows platform.

NOTE: This is a work in progress - we are perfecting it. This is only version 0.1.

Downloading the program and source code

http://dl.dropbox.com/u/56988145/test_1.zip

Combining data files

Lets say you have data files you want to look at called 2010-11-05-HD172175-1420_1-8bit-01.dat and 2010-11-05-HD172175-1420_1-8bit-02.dat

you can combine them with this command on windows

copy /b 2010-11-05-HD172175-1420_1-8bit-01.dat + 2010-11-05-HD172175-1420_1-8bit-02.dat 2010-11-05-HD172175-1420_1-8bit-combined.dat

or you can just look at the first one alone but lets say you combined them

so that should create 2010-11-05-HD172175-1420_1-8bit-combined.dat

Convert the data

after that you have to run data_convert.exe

the command would be

data_convert.exe 2010-11-05-HD172175-1420_1-8bit-combined.dat 2010-11-05-HD172175-1420_1-8bit-converted.dat

that should create 2010-11-05-HD172175-1420_1-8bit-converted.dat

Creating a BMP image file

once you have 2010-11-05-HD172175-1420_1-8bit-converted.dat made you can run dgrab.exe which generates a bmp file or


dgrab.exe command looks like this dgrab.exe 2010-11-05-HD172175-1420_1-8bit-converted.dat output.bmp 0 1000

the 2 numbers at the end are position and width

so that would grab data from 2010-11-05-HD172175-1420_1-8bit-converted.dat and generate a picture 1000 pixels wide starting at bin 0. Bins range from 0 - 8738131. The height depends on how much data you converted if you just do one 1.9 gig data file it will be about 117.

The images may look something like the red waterfall plot.


Herpy-windows-tutorial-graph.png

The power graph was created by dumping the text data from txtgrab.exe into gnumeric and averaging the columns and plotting the average power.

Creating a text file

txtgrab.exe creates a text file containing the power values.

txtgrab.exe command looks like this:

txtgrab.exe 2010-11-05-HD172175-1420_1-8bit-converted.dat output.txt 0 1000

this will create a txt file with power levels from position 0 - 999


Scripting

if you want to generate all the pictures you should make a script that calls dgrab.exe over and over again

gen-pics.rb is a ruby script that does it but you would have to edit it to make it work for you.


so you need to make a script that runs dgrab.exe over and over again changing the range you want it to draw like this

dgrab.exe 2010-11-05-HD172175-1420_1-8bit-converted.dat output_000001.bmp 0 1000

dgrab.exe 2010-11-05-HD172175-1420_1-8bit-converted.dat output_000002.bmp 1000 1000

dgrab.exe 2010-11-05-HD172175-1420_1-8bit-converted.dat output_000003.bmp 2000 1000


you need to make sure the width is a multiple of 4 for some reason for the bmp file format. I am not sure how wide you can make the bmp file before it breaks.


if you make them 1000 pixels wide it will be 8737 bmp files for the whole thing.


Pictures of Signals

Here are some signals from a quick visual pass through some data sets:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox