Skip to main content

Empty MS creation tool

Project description

Creates empty measurement sets using the the CASA simulate tool.

Requires

Install

Github

$ git clone https://github.com/radio-astro/simms
$ cd simms
$ python setup.py install

Pip

pip install simms

Examples

On the command line

To get farmiliar with options run: simms –help ;)

The antenna positions can be specified as a CASA Table or an ASCII file. Bellow is an example of you can an empty MS using both formats:

NOTE: Some antenna tables are provided in Simms/observatories. Run the examples below in the simms directory or change the paths of the antenna files accordingly in the lines bellow.

CASA Table KAT7_ANTENNAS

simms -T kat-7 -t casa -l test_casa -dec -30d0m0s -ra 0h0m0s -st 1 -dt 60 -f0 1.4GHz -nc 4 -df 10MHz Simms/observatories/KAT7_ANTENNAS

ASCII vlac.enu.itrf

simms -T vla -t ascii -cs itrf -l test_ascii -dec 30d0m0s -ra 0h0m0s -st 1 -dt 60 -f0 1.4GHz -nc 4 -df 10MHz Simms/observatories/vlac.itrf.txt

In both cases, we create an empty MS (VLA-A and KAT-7) at 1400MHz with 4 10MHz channels, the observtion is 1hr and has a 60s integrations time.

In Python

from simms import simms

simms.create_empty_ms(msname="Name_of_ms.MS", tel="kat-7", synthesis=1, pos_type='casa', pos="kat-7_antenna_table")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simms-0.9.5.tar.gz (31.9 kB view hashes)

Uploaded Source

Built Distribution

simms-0.9.5-py2.7.egg (52.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page