Use this file to discover all available pages before exploring further.
Use client.get() to fetch analysis results for items in the catalogue. The method returns result objects with time series data, extracted frames, pattern graphs, and more.
from atomscale import Clientclient = Client(api_key="YOUR_API_KEY")# Search for completed analysessearch_results = client.search(keywords="demo", data_type="rheed_stationary")# Get analysis resultsanalysed = client.get(search_results["Data ID"].to_list())
Each item in analysed is a result object depending on the source data type: RHEEDVideoResult, RHEEDImageResult, XPSResult, PhotoluminescenceResult, RamanResult, MetrologyResult, or OpticalResult.
Video results include snapshot images at key moments:
snapshot = video_item.snapshot_image_data[0]# Get a matplotlib figurefigure = snapshot.get_plot()# Access the detected diffraction pattern as a NetworkX graphfingerprint = snapshot.pattern_graph# Get a tidy table describing each spotdf = snapshot.get_pattern_dataframe()
The pattern_graph exposes the detected diffraction network, while get_pattern_dataframe() returns positions, intensities, and labels for each spot.