Commits
1603 1603 | <type>string</type><type>int</type><type>intVec</type> |
1604 1604 | </param> |
1605 1605 | </input> |
1606 1606 | <returns type="intVec"/> |
1607 1607 | <description> |
1608 1608 | ALMA-only. Get the values for the receiver band of the specified |
1609 1609 | spw(s). A return value of -1 means no receiver band number could |
1610 1610 | be determined. The name of the spw is first checked to see if |
1611 1611 | the receiver band value is encoded there. If not, the |
1612 1612 | corresponding spectral window ID is sought in the ASDM_RECEIVER |
1613 - | table, if it exists. If the corresponding spectral window can be |
1614 - | found, the frequencyBand column entry for that row of the |
1615 - | ASDM_RECEIVER table is checked to determine if the receiver band |
1616 - | information is encoded there. In the case where the spectral |
1617 - | window ID is present in multiple cells of the spectralWindowId |
1618 - | column, the first row in which the ID is found is used to |
1619 - | determine the receiver band. If all these tests fail, -1 is |
1620 - | returned for the spectral window. |
1613 + | table, if it exists, and if it has fewer or equal number of rows |
1614 + | than the SPECTRAL_WINDOW table. If the corresponding spectral |
1615 + | window can be found in the ASDM_RECEIVER table, then the |
1616 + | corresponding frequencyBand column value is checked to determine |
1617 + | if the receiver band information is encoded there. In the case |
1618 + | where the spectral window ID is present in multiple cells of |
1619 + | the spectralWindowId column, the first row in which the ID is |
1620 + | found is used to determine the receiver band. If all these tests |
1621 + | fail, -1 is returned for the specified spectral window. |
1621 1622 | </description> |
1622 1623 | <example> |
1623 1624 | msmd.open("my.ms") |
1624 1625 | # get the receiver bands for spws 8 and 2. |
1625 1626 | rx_bands = msmd.rxbands([8, 2]) |
1626 1627 | # get all receiver bands |
1627 1628 | all_rx_bands = msmd.rxbands() |
1628 1629 | msmd.done() |
1629 1630 | </example> |
1630 1631 | </method> |