Skip to content

Experiment replay for xps experiment #69

@xiaoyachong

Description

@xiaoyachong
  1. When we save feature vectors to tiled, we currently save it to the root node:
TILED SERVER
└──lse_live_results/ (root container)
      └── [USER from env]/
              └── daily_run_2025-08-20/ daily container, named by current date)
                      └── experiment_name/ (given by user)
                              └── 12345678-1234-1234-1234-123456789abc (UUID table 1, might be alignment)
                              └── 87654321-4321-4321-4321-cba987654321 (UUID table 2, might be blade coating)
                              └── feature_vectors (default table name if UUID is not available)

We may don't have permission to create lse_live_results at Tiled root node, instead, we should create it in {tiled_base_uri}/api/v1/array/full/beamlines/bl931/processed/,
Then inside /beamlines/bl931/processed/, the feature_vector result (table) is saved:
lse_live_results/{USER}/{daily_run_xxxx}/{experiment_name}/{UUID}
and the images (numpy array) will be saved at:
live_data_cache/{current_uuid}/xps_averaged_heatmaps/frame_{shot_num}?slice=0:1,0:{height},0:{width})

  1. The current experiment replay only works for the tiled_url of SMI experiments.
    We currently ingest the XPS heatmap into a predefined tiled_url, which needs further discussion. In addition, the experiment replay logic will need to be updated to support this type of tiled_url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions