Metadata-Version: 2.1
Name: tart2ms
Version: 0.1.3b3
Summary: Convert TART observation data to Measurement Sets
Home-page: http://github.com/tmolteno/tart2ms
Author: Tim Molteno
Author-email: tim@elec.ac.nz
License: GPLv3
Description: # tart2ms
        
        [![Build Status](https://travis-ci.org/tmolteno/tart2ms.svg?branch=master)](https://travis-ci.org/tmolteno/tart2ms)
        
        Convert data from a [TART radio telescope](https://tart.elec.ac.nz) to measurement set format. This module relies on the excellent dask-ms module as a helper to create the measurement sets. 
        
        ## Install
        
            sudo pip3 install tart2ms
        
        ## Examples
        
        Download data from the TART in real time via the RESTful API (defaults to using the API at https://tart.elec.ac.nz/signal):
        
            tart2ms --ms data.ms
        
        To convert a previously downloads JSON file to a measurement set (MS):
        
            tart2ms --json data.json --ms data.ms
        
        To synthesize (using wsclean) the image from the measurement set:
        
            wsclean -name test -size 1280 1280 -scale 0.0275 -niter 0 data.ms
         
        This will create an image called test-image.fits. You will need to install wsclean on your system.
        
        ## Usage
        
            usage: tart2ms [-h] [--json JSON] [--ms MS] [--api API] [--catalog CATALOG]
                        [--vis VIS] [--pol2]
        
            Generate measurement set from a JSON file from the TART radio telescope.
        
            optional arguments:
            -h, --help         show this help message and exit
            --json JSON        Snapshot observation JSON file (visiblities, positions
                                and more). (default: None)
            --ms MS            Output MS table name. (default: tart.ms)
            --api API          Telescope API server URL. (default:
                                https://tart.elec.ac.nz/signal)
            --catalog CATALOG  Catalog API URL. (default:
                                https://tart.elec.ac.nz/catalog)
            --vis VIS          Use a local JSON file containing the visibilities for
                                visibility data (default: None)
            --pol2             Fake a second polarization. Some pipelines choke if there
                                is only one. (default: False)
        
        ## Credits
        
        Thanks to Simon Perkins and Oleg Smirnov for help in interpreting the measurement set documentation.
        
        
        ## TODO
        
        - 
        
        ## Changelog
        
        - 0.1.3b1 Sort out the timestamps correctly, added a handy function for converting to epoch time.
        - 0.1.2 Correct pointing direction of the array (in J2000).
        - 0.1.1 Added -pol2 switch to generate a second polarization.
        - 0.1.0 first functioning release.
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Communications :: Ham Radio
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Intended Audience :: Science/Research
Description-Content-Type: text/markdown
