Source
1
-
<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns="http://casa.nrao.edu/schema/psetTypes.html" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
-
3
-
4
-
5
-
6
-
<task type="function" name="imreframe" category="analysis">
7
-
<shortdescription>Change the frame in which the image reports its spectral values</shortdescription>
8
-
9
-
<input>
10
-
<param type="path" name="imagename" kind="image" mustexist="true"><shortdescription>Name of the input image</shortdescription><description>Name of the input image</description>
11
-
12
-
<value/>
13
-
<example>imagename='ngc5921_task.image'</example>
14
-
</param>
15
-
<param type="string" name="output"><shortdescription>Name of the output image</shortdescription><description>Name of the output image</description>
16
-
17
-
<value/>
18
-
<example>output='newframed.image'; output='' will modify input image</example>
19
-
</param>
20
-
21
-
<param name="outframe" type="string">
22
-
<shortdescription>Spectral frame in which the frequency or velocity values will be reported by default</shortdescription>
23
-
<description>Spectral frame in which the frequency or velocity values will be reported by default</description>
24
-
25
-
<value>lsrk</value>
26
-
<allowed ignorecase="true" kind="enum">
27
-
<value>lsrk</value>
28
-
<value>lsrd</value>
29
-
<value>bary</value>
30
-
<value>geo</value>
31
-
<value>topo</value>
32
-
<value>galacto</value>
33
-
<value>lgroup</value>
34
-
<value>cmb</value>
35
-
<value/>
36
-
</allowed>
37
-
</param>
38
-
<param type="string" name="epoch" subparam="true"><shortdescription>Epoch to be associated with this image</shortdescription><description>Epoch to be associated with this image</description>
39
-
40
-
<value/>
41
-
<example>For example: '2000/12/25/18:30:00.10'</example>
42
-
</param>
43
-
44
-
45
-
<param type="string" name="restfreq"><shortdescription>restfrequency to use for velocity values (e.g "1.420GHz" for the HI line)</shortdescription><description>restfrequency to use for velocity values (e.g "1.420GHz" for the HI line)</description>
46
-
47
-
<value/>
48
-
</param>
49
-
50
-
<constraints>
51
-
<when param="outframe">
52
-
<equals type="string" value="lsrk"/>
53
-
<equals type="string" value="topo">
54
-
<default param="epoch"><value type="string"/></default>
55
-
</equals>
56
-
<equals type="string" value="TOPO">
57
-
<default param="epoch"><value type="string"/></default>
58
-
</equals>
59
-
<equals type="string" value="geo">
60
-
<default param="epoch"><value type="string"/></default>
61
-
</equals>
62
-
<equals type="string" value="GEO">
63
-
<default param="epoch"><value type="string"/></default>
64
-
</equals>
65
-
</when>
66
-
</constraints>
67
-
</input>
68
-
<returns type="void"/>
69
-
70
-
<example>
71
-
72
-
imagename -- name of casa image file to process on
73
-
output -- name of output image '' means modify the input image itself
74
-
default: '';
75
-
outframe -- new spectral frame in which the frequency or
76
-
velocity will be reported for.
77
-
Options: 'lsrk','lsrd','bary','geo','topo','galacto',
78
-
'lgroup','cmb'
79
-
default: 'lsrk'
80
-
>>>
81
-
epoch -- when outframe is 'topo' or 'geo' a time in UTC is needed
82
-
to decide when to do the frequency conversion. '' is to use
83
-
the epoch of the input image
84
-
default= ''
85
-
86
-
restfreq -- Specify rest frequency to use for output image
87
-
default=''; '' means use the restfrequency already in input image
88
-
For example for
89
-
NH_3 (1,1) put restfreq='23.694496GHz'
90
-
91
-
</example>
92
-
93
-
</task>
94
-
95
-
</casaxml>