<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.jive.eu/jivewiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.jive.eu/jivewiki/feed.php">
        <title>JIVE Wiki parseltongue</title>
        <description></description>
        <link>https://www.jive.eu/jivewiki/</link>
        <image rdf:resource="https://www.jive.eu/jivewiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-12T04:29:01+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:apply_ai_table_to_cl_table&amp;rev=1183994381&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:get_small_source_stats_main&amp;rev=1183994079&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:grimoire&amp;rev=1354012750&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:parseltongue&amp;rev=1729006594&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:parseltongue_faq&amp;rev=1236949831&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:phaseplot&amp;rev=1183991028&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:process_phase_reference_data&amp;rev=1183994203&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:sault-wieringa_algorithm&amp;rev=1221637159&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:self_cal_source&amp;rev=1183994060&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:uvcoverage&amp;rev=1183990844&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.jive.eu/jivewiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>JIVE Wiki</title>
        <link>https://www.jive.eu/jivewiki/</link>
        <url>https://www.jive.eu/jivewiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:apply_ai_table_to_cl_table&amp;rev=1183994381&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-09T15:19:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:apply_ai_table_to_cl_table</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:apply_ai_table_to_cl_table&amp;rev=1183994381&amp;do=diff</link>
        <description>function: apply_AI_table_to_CL_table


################################################################################
# Find the upper and lower indices for interpolating in the AI table
def apply_AI_table_to_CL_table(aips_data, AI_version, gainver, gainuse,
                               interpolation_method,
                               overwrite=0):
    &quot;&quot;&quot;Find the upper and lower indices for interpolating in the AI table

    aips_data      I  an AIPS uv dataset (standard, not Wizardry)
…</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:get_small_source_stats_main&amp;rev=1183994079&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-09T15:14:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:get_small_source_stats_main</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:get_small_source_stats_main&amp;rev=1183994079&amp;do=diff</link>
        <description>function: get_small_source_stats_main


def get_small_source_stats_main(aips_image, \
                                source_radius, noise_inner_radius, \
                                noise_outer_radius, edge_width=10, \
                                print_level=1):
    &quot;&quot;&quot;User version for statistis from an image for a \&quot;small\&quot; source.

    This function takes an AIPSImage, and returns physical (Jy/beam and Jy)
    values.  Note that the returned position is a C position!!!

    This funct…</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:grimoire&amp;rev=1354012750&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-11-27T10:39:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:grimoire</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:grimoire&amp;rev=1354012750&amp;do=diff</link>
        <description>The Parseltongue Grimoire

Ionospheric Calibration

James M Anderson, 18 January 2006

Here are some scripts related to my Ionospheric Calibration work.

 This file is being used to do the main calibration of my N05L2 EVN test observations for the ionosphere. It was developed before Cormac really began work on developing the ParselTongue EVN pipeline, so you should check out Cormac's stuff to see a more refined pipeline system for the EVN.</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:parseltongue&amp;rev=1729006594&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-15T15:36:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:parseltongue</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:parseltongue&amp;rev=1729006594&amp;do=diff</link>
        <description>The Parseltongue Wiki

ParselTongue is a Python interface to classic AIPS, Obit and possibly other task-based data reduction packages. It serves as the software infrastructure for some of the ALBUS implementation. It allows you to run AIPS tasks, and access AIPS headers and extension tables from Python. There is also support for running Obit tasks and accessing data in FITS files. Full access to the visibilities in AIPS UV data is also available.</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:parseltongue_faq&amp;rev=1236949831&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-03-13T13:10:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:parseltongue_faq</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:parseltongue_faq&amp;rev=1236949831&amp;do=diff</link>
        <description>Parseltongue FAQ

I have created this page for people to ask questions regarding parseltongue, please feel free to post comments.

How do you clear the status of all files in a catalogue?

It is possible to delete the contents of a catalogue with AIPSCat().zap(), but this will only work if</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:phaseplot&amp;rev=1183991028&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-09T14:23:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:phaseplot</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:phaseplot&amp;rev=1183991028&amp;do=diff</link>
        <description>Plot of the phase for a single channel

And here is a script that makes a plot of the phase for a single channel on a randomly chosen baseline:


from Wizardry.AIPSData import AIPSUVData
from AIPS import AIPS

from pylab import plot, show
from math import atan2

AIPS.userno = 3601

data = AIPSUVData('MULTI', 'UVDATA', 1, 3)
phase = []
time = []
for visibility in data:
    if visibility.baseline == [1, 2]:
        re = visibility.visibility[0, 0, 0, 0]
        im = visibility.visibility[0, 0, 0, …</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:process_phase_reference_data&amp;rev=1183994203&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-09T15:16:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:process_phase_reference_data</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:process_phase_reference_data&amp;rev=1183994203&amp;do=diff</link>
        <description>function: process_phase_reference_data


################################################################################
# Process Phase Referencing Data
def process_phase_reference_data(aips_uvdata, PhaseReferencingInfoDict):
    &quot;&quot;&quot;Runs through the list of phase referencing observations to make images
    &quot;&quot;&quot;
    # make sure the argument is a list
    if(type(PhaseReferencingInfoDict) != type([0])):
        PhaseReferencingInfoDict = [PhaseReferencingInfoDict]
    # declare some local variabl…</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:sault-wieringa_algorithm&amp;rev=1221637159&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2008-09-17T07:39:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:sault-wieringa_algorithm</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:sault-wieringa_algorithm&amp;rev=1221637159&amp;do=diff</link>
        <description>Sault-Wieringa algorithm

This page is for the development and testing of the Sault-Wieringa algorithm, within aperture synthesis.

The Sault-Wieringa algorithm is a technique of using measurements at several observing frequencies when forming an image in radio interferometric aperture synthesis.</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:self_cal_source&amp;rev=1183994060&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-09T15:14:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:self_cal_source</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:self_cal_source&amp;rev=1183994060&amp;do=diff</link>
        <description>function: self_cal_source


################################################################################
# Run a series of IMAGR clean and CALIB self-cal's on a Single Source Dataset
def self_cal_source(aips_data,
                    source_name='',
                    flagver = 0,
                    bpver = -1,
                    refant = 1,
                    timerange=[0,0,0,0],
                    imsize = 512,
                    cellsize=1,
                    robust=8,
            …</description>
    </item>
    <item rdf:about="https://www.jive.eu/jivewiki/doku.php?id=parseltongue:uvcoverage&amp;rev=1183990844&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2007-07-09T14:20:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parseltongue:uvcoverage</title>
        <link>https://www.jive.eu/jivewiki/doku.php?id=parseltongue:uvcoverage&amp;rev=1183990844&amp;do=diff</link>
        <description>UV coverage plot

It’s also possible to get at the actual visibilities in a UV data set. Here is a little script that uses matplotlib to make a UV coverage plot:


from Wizardry.AIPSData import AIPSUVData
from AIPS import AIPS

from pylab import plot, show

AIPS.userno = 667

data = AIPSUVData('MULTI', 'UVDATA', 1, 3)
u = []
v = []
for visibility in data:
    u.append(visibility.uvw[0])
    v.append(visibility.uvw[1])

plot(u, v, '.')
show()</description>
    </item>
</rdf:RDF>
