Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once you have determined the names of your detectors and EPICS variables (ideally using the simpler aliases, where possible) you can fetch your data by passing those names to psana's "Detector" interface which gives you simple access to often complex detectors.  The subsections here show various examples of accessing data.

NOTE: very few people do this, so it is not shown in the following simple examples, but if you open multiple psana DataSource's at the same time it is important to pass the optional DataSource.env() second argument when creating a Detector object.