Analysis Results#
Access the data extracted from your RHEED videos and images.
Fetch Results#
from atomscale import Client
client = Client()
# Search for data
search_results = client.search(keywords=["GaN"], status="success")
# Fetch analysis results
analysed = client.get(search_results["Data ID"].to_list())
Each item in analysed is a result object with properties for accessing
different types of analysis data.
Timeseries Data#
For RHEED videos, get frame-by-frame analysis:
video = analysed[0]
df = video.timeseries_data
print(df.columns)
print(df.tail())
Common columns:
Column |
Description |
|---|---|
|
Frame timestamp in seconds |
|
Specular spot brightness |
|
Computed strain metric |
|
Pattern cluster assignment |
Extracted Frames#
Access snapshots extracted during analysis:
snapshot = video.snapshot_image_data[0]
# Get matplotlib figure
fig = snapshot.get_plot()
fig.savefig("snapshot.png")
# Get diffraction pattern as DataFrame
pattern_df = snapshot.get_pattern_dataframe()
# Get pattern as NetworkX graph
graph = snapshot.pattern_graph
Result Types#
The type of result object depends on the source data:
Data Type |
Result Class |
|---|---|
|
|
|
|
|
|
Batch Processing#
Process multiple results efficiently:
for item in analysed:
if hasattr(item, "timeseries_data"):
df = item.timeseries_data
avg_intensity = df["specular_intensity"].mean()
print(f"{item.data_id}: avg intensity = {avg_intensity:.2f}")