Versions Compared

Key

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

...

  • List all entries using: "facetdata.print_scalars_entries()"


  • We explain the "common index" concept using "steps" as an example
    print all steps: "facetdata.print_steps()"
    Image Added
    • The list contains much more than just 20 x 50 = 1000 entries (number of shots per step x number of steps)
    • To get the number of successful shots:

      shotidx_list        = facetdata.get_shotidx_list()
      print("number of shots: ", facetdata.get_scan_length())
      print("shot idx:        ", shotidx_list)


      Image Added
    • Note that the function "get_shotidx_list()" returns a "LinData" object that represents a list of all successful shots
    • To index this list properly, we need the scalar common index:
      use the function "facetdata.get_scalar_cidx" to convert a shot index to a common index.