metadata composer for nexus
play

Metadata composer for NeXus Jan Kota nski Deutsches - PowerPoint PPT Presentation

Metadata composer for NeXus Jan Kota nski Deutsches Elektronen-Synchrotron Oct 8, 2017 Jan Kota nski (DESY) Metadata composer for NeXus Oct 8, 2017 1 / 13 Modular structure of the NeXus Framework Experimental Configuration Control


  1. Metadata composer for NeXus Jan Kota´ nski Deutsches Elektronen-Synchrotron Oct 8, 2017 Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 1 / 13

  2. Modular structure of the NeXus Framework Experimental Configuration Control Client Server Configuration DB Tango Servers Nexus Writer Devices Facility databases providing administrative information File Server https://github.com/nexdatas/ Nexus Writer uses pni-libraries (or h5py) deb http://repos.pni-hdri.de/apt/debian for debian stretch, jessie, wheezy and ubuntu xenial Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 2 / 13

  3. NeXus Component Selector Device Selection Editor/View – Detector Components Select components of Pool channels and other TANGO devices. Disable display for TaurusGUI, e.g. nxsmacrogui. Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 3 / 13

  4. Pilatus1M component NeXus Semantic GROUP scan$var.serialno NXentry GROUP Groups contain groups, fields P03 NXinstrument GROUP and links. They generate Pilatus1M NXdetector FIELD the hierarchical file structure. x_pixel_size NX_FLOAT64 172 FIELD They have names, associated y_pixel_size NX_FLOAT64 172 FIELD attributes and types: layout NX_CHAR area FIELD e.g. NXentry, NXdetctor, . . . description NX_CHAR Pilatus 1M FIELD STRATEGY data NX_UINT32 POSTRUN /data/p03/2013B/xxyyzz Fields contain data with ATTRIBUTE STRATEGY FileDir NX_CHAR $datasources.P1_fileDir FINAL their attributes: names, shape, ATTRIBUTE STRATEGY FilePostfix NX_CHAR $datasources.P1_filePostfix FINAL data types and unit. ATTRIBUTE Attributes are descriptive info signal NX_UINT 1 GROUP for groups and fields. extra_info NXcollection FIELD STRATEGY delay_time NX_FLOAT64 $datasources.P1_delayTime FINAL Links refer to fields at different locations in the data tree. FIELD STRATEGY nb_exposures NX_FLOAT64 $datasources.P1_nbExposures FINAL GROUP data NXdata LINK data NXentry/NXinstrument/Pilatus1M:NXdetector/data Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 4 / 13

  5. Detector data Data from detectors 0D and 1D – data in one file 2D and fast 1D – strategy depends on vendor software Configuration components for detectors data in master file during scan: 0D, MCA, Mythen2, . . . master file and images file will be linked: Lambda, Eiger, . . . nxscollect for integrating TIFs, . . . into NeXus file: Pilatus, PE, PCO, Mythen1, MarCCD, . . . dedicated macros for detectors in continuous scans All-in-one is easier to manage Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 5 / 13

  6. NeXus Component Selector Device Selection View – Description Components Descriptive components are automatically deselected if related to them motors are switch off. Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 6 / 13

  7. NeXus Component Selector Experiment metadata – User Data To describe the experiment completely some of the CLIENT data have to be provided by the user Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 7 / 13

  8. Spock with NeXus Sardana Recorder User scan in spock with the exp_mot07 motor. For NeXus Recorder the file extension is .nxs Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 8 / 13

  9. Component templates Components are created by the nxscreate script from component templates Standard component templates common for beamlines: default, beamtimeid, source, undulator, dcm, slit, absorber, beamstop, chcut, keithley, pinhole, qbpm, samplehkl, ... Beamline specific components Advantages: Create the same components with different motors Change motors by changing script parameters Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 9 / 13

  10. Component Designer The Configuration Client Tool allows to create configuration components as well as datasources [for IT staff] Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 10 / 13

  11. nxsconfig info provides relation between components and datasources Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 11 / 13

  12. nxsconfig geometry shows physical information related to component fields Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 12 / 13

  13. NeXus is ready-to-use Advantages full description included, metadata and open data 0d and 1D data in one file (for 2D: external links or post-collection) beamline description, e.g. motor positions in INIT mode user comments included, per scan Nexus configuration components allow to fit sophisticated NeXus structure into specific experiment and beamline Standard component templates simplify beamline configuration Jan Kota´ nski (DESY) Metadata composer for NeXus Oct 8, 2017 13 / 13

Recommend


More recommend