tart-telescope / notebooks

Example python notebooks using TART data
0 stars 2 forks source link

Script tart_image does not produce any output? #5

Closed rubyvanrooyen closed 1 year ago

rubyvanrooyen commented 2 years ago

This issue was detected in the example notebook: https://github.com/tart-telescope/notebooks/blob/main/getting_started/TART_cmd_data.ipynb

The tart_image script does not produce any output files, but reports that data has been acquired.

2022-10-18 13:56:31,784 - root - INFO - Getting Data from API: https://tart.elec.ac.nz/signal
2022-10-18 13:56:34,971 - root - INFO - Data Download Complete

More investigation is needed

tmolteno commented 2 years ago

I think it needs the command line argument --dirty (to create a dirty image)

tim@ak47:~/github/tart2ms$ tart_image --PNG --vis test.json --display --dirty
2022-10-21 14:41:58,107 - root - INFO - Getting Data from API: https://tart.elec.ac.nz/signal
2022-10-21 14:42:00,578 - root - INFO - Data Download Complete
2022-10-21 14:42:00,672 - root - INFO - 'N_s':1048576, 'S/N': 16.501520604692566, 'min': 7.237579497635888e-13, 'max': 3.132057372333063e-05, 'mean': 2.2808050950387554e-06, 'sdev': 1.8980416698339875e-06, 'R_mad': 28.077805354028886, 'MAD': 1.1154922305505775e-06, 'median': 1.8726891925287555e-06
Dynamic Range: 28.07780470520505
Generating dirty_2022_10_21_01_37_34_UTC.png

image

rubyvanrooyen commented 1 year ago

Notebook updated to generate and display image: getting_started/TART_cmd_data.ipynb