{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / card / Card / _check_if_rvkc

function

astropy.io.fits.card:Card._check_if_rvkc

source: /astropy/io/fits/card.py :608

Signature

def   _check_if_rvkc ( self * args )

Summary

Determine whether or not the card is a record-valued keyword card.

Extended Summary

If one argument is given, that argument is treated as a full card image and parsed as such. If two arguments are given, the first is treated as the card keyword (including the field-specifier if the card is intended as a RVKC), and the second as the card value OR the first value can be the base keyword, and the second value the 'field-specifier: value' string.

If the check passes the ._keyword, ._value, and .field_specifier keywords are set.

Examples

:: self._check_if_rvkc('DP1', 'AXIS.1: 2') self._check_if_rvkc('DP1.AXIS.1', 2) self._check_if_rvkc('DP1 = AXIS.1: 2')

Aliases

  • astropy.io.fits.Card._check_if_rvkc