Versions Compared

Key

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

...

  • Matlab starts indexing with 1, python starts with 0. We always have to shift the index properly in python!
  • Different data are matched using a "common index" concept: all scalars and each camera has its own "common index". We first have to find the common index and then use it to index the actual data arrays, if we want data that belong to the same shot.

Matlab file

  • Load the file using: "facetdata        = facet.FacetDataFile(filename)"

...

  • Print all entries using: "facetdata.print_params_entries()"

  • Get information about the scan:

    print("number of steps:          ", facetdata.nSteps)
    print("number of shots per step: ", facetdata.n_shot)

    facetdata.print_scanPVs()
    facetdata.print_scanVals()




scalars

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