Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting individual antenna signals #33

Open
danieludick opened this issue Mar 16, 2018 · 2 comments
Open

Extracting individual antenna signals #33

danieludick opened this issue Mar 16, 2018 · 2 comments

Comments

@danieludick
Copy link
Collaborator

Good day,

I would like to extract the individual (time sampled) signals from each of the antennas for our setup in SA. I am logging in to my Raspberry pi and I execute:

/git/TART/software/python/tart/tart/simulation $ python telescope_system.py

I am however getting the following error:

Traceback (most recent call last): File "telescope_system.py", line 13, in <module> rad = radio.Max2769B(sample_duration = 1e-5) TypeError: __init__() got an unexpected keyword argument 'sample_duration'

The installation is also already up to date (I think). After pulling from the repo, I issued:

/home/pi/git/TART/software/python/tart_web_api and issue: sudo python setup.py install

Perhaps there is another setup.py to run?

@danieludick
Copy link
Collaborator Author

There is another script that I located (test_radio.py), that looks useful here. When I run it however, then it also exhibits an issue:

pi@tart2-orange:~/git/TART/software/python/tart/tart/simulation/test $ python test_radio.py Traceback (most recent call last): File "test_radio.py", line 10, in <module> from tart.simulation import spectrum ImportError: cannot import name spectrum

@maxscheel
Copy link
Collaborator

Hi Danie,
You went down the wrong rabbit hole and discovered lots of software/bit rot 🥇

Ideally you want to download the raw data file to your desktop. On your desktop should already have the tart python package installed (pip install tart)

I just added a simple script for time sampled signals from raw data pkl files in:
TART/doc/getting_started/time_sampled_signals.py

The latter is a stripped version of the spectrum generation from raw data which can be found here:
TART/doc/getting_further/spectrum/raw_data_info.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants