Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Tuesday, December 29, 2009

Text User Interface using PythonDialog2.7

I have been struggling to have a simple text user interface to display information, and then change the variables/ settings in a program from command line (while running the program). This all with a user menu and other tools.

It now works with PythonDialog 2.7, with only 4 days of complete work ! Here are a couple of screenshots, this is pretty cool.

First the default read of the data file and its parameters: Page 1



I can change the telescope name (to correct value "WSRT")



And once I press RETURN key in the window above, the file is modified:



More code and pics will come soon. This is the time to take this program forward...


.

Thursday, July 02, 2009

Coherent Dedispersion

Our code to remove dispersion effects from pulsar time series is now in its 5th revision. The major changes are:

1) the code reads one period of pulsar in small chunks of 32k samples
2) the chunks are dedispersed and smoothed with a factor = 4096
3) smoothed chunks are appended to the final time series.