from atomscale.streaming import TimeseriesStreamer
streamer = TimeseriesStreamer(api_key="YOUR_API_KEY", points_per_chunk=100)
streamer.push_multi(
data_id="d290f1ee-6c54-4b01-90e6-d701748f0851",
chunk_index=0,
channels={
"thickness": {
"timestamps": [1705312200.0, 1705312210.0, 1705312220.0],
"values": [0, 5.2, 10.1],
"units": "nm",
},
"deposition_rate": {
"timestamps": [1705312200.0, 1705312210.0, 1705312220.0],
"values": [0.52, 0.49, 0.52],
"units": "nm/s",
},
},
)