Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-1644

Provide PFI XML file loader to cobra_geometry tables

    XMLWordPrintable

    Details

    • Sprint:
      Eng13Oct

      Description

      We need a loader for the cobra_geometry and cobra_geometry_calib_id tables, from a given PFI XML file.

      As a reminder, the PfiDesign objects are fetchable given pfs_utils and ics_cobraCharmer. e.g.

      cloomis@shell-ics:~$ setup pfs_utils
      cloomis@shell-ics:~$ setup ics_cobraCharmer
      cloomis@shell-ics:~$ python
      
      In [1]: from pfs.utils import butler
      In [2]: b = butler.Butler()
      In [3]: pfi = b.get('moduleXml', moduleName='ALL', version='')
      
      # Some of the essential fields:
      In [5]: pfi.centers, pfi.L1, pfi.L2, pfi.tht0, pfi.tht1, pfi.phiIn, pfi.phiOut
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chyan chyan
                Reporter:
                cloomis cloomis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: