center¶
Overview¶
Open loop pointing offset needed to correct for ADC rotation.
Users¶
This list is not promised to be comprehensive.
Contents¶
Keyword/value pairs¶
The values are the errors, so the negative of the correction needed.
Keyword | Sample value | Type | Units | Description |
---|---|---|---|---|
ra | -0.10 | float | arcseconds | R.A. pointing error |
dec | 17.56 | float | arcseconds | declination pointing error |
Storage and access¶
Through DOS¶
After nfsproc is run for a sequence, the get
PML
command
may be used retrieve the center data from PlateMaker.
First, a PML
connection must be established:
>>> from DOSlib.PML import dos_connection
>>> pm = dos_connection('PLATEMAKER')
>>> pm.execute('configure')
'SUCCESS'
The center data is normally calculated by PlateMaker when
nfsproc is called. So, load some sample input for it, and run nfsproc
:
>>> from PlateMaker import test_data
>>> targets = test_data.targets
>>> pm.execute('set', seqid=52254)
'SUCCESS'
>>> pm.execute('set', targets=targets)
'SUCCESS'
>>> pm.execute('nfsproc')
'SUCCESS'
Now we can retrieve center from PlateMaker, which it will return in the form of a python OrderedDict.
>>> center = pm.execute('get', 'center')
>>> center
OrderedDict([('ra', ...), ('dec', ...)])