The Advanced Photon Source
a U.S. Department of Energy Office of Science User Facility

Beamline Controls and Data Handling

Control Software

The 7ID beamline operates thru EPICS.  The display manager has recently been updated to caQtDM.

Diffractometers are generally controlled with spec.

  • A brief list of of handy spec commands is available, with an even briefer two-page summary.
  • A brief guide to local macros in use at 7ID is available here (local access).
  • The vendor has some guides available here.
Data Formats

The format in which data are saved depends heavily on the method of data collection.  For example:

  • spec data are usually saved in ascii files.  These files can grow long and unwieldy unless new files are created from time to time. 
    PyMca is a useful viewing and analysis software for spec files and for x-ray fluorescence data.
  • Data collected with EPICS scan records are saved as binary mda files, with separate files for each scan.  Utilities to manipulate these files are available here. dview (available from the command line or the main caQtDM screens under the "Tools" menu) is a handy way to view 1D and 2D data.
  • Area detector data are saved as tiff files or per the manufacturer's standard.
Data Transfer

To facilitate users returning their data to their home institution, SFTP is used.  See your beamline contact for details.

Data Retention Policy

While the beamline will store users' data temporarily, the ultimate responsibility for data retention lies with users.  Data from the 7-ID beamline consists of EPICS and spec scan data files, and area detector images. The EPICS and spec scan data are stored on a central institutional server for a minumum of 3 months. Both area detector data and scan data are provided to the users after the experiment completion. A copy of their image data may be kept at the APS, but this is left at the discretion of their local contact.