Files
cristallina/acquisition/SF_acquisition test.ipynb

1779 lines
68 KiB
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": 11,
"id": "e03fa003-fac5-44f7-b42f-2b718f6b966a",
"metadata": {},
"outputs": [],
"source": [
"from slic.core.adjustable import Adjustable, PVAdjustable, DummyAdjustable\n",
"from slic.core.scanner import Scanner\n",
"from slic.core.acquisition import BSAcquisition, PVAcquisition, SFAcquisition"
]
},
{
"cell_type": "markdown",
"id": "e7d392c4-cc82-4dea-b07a-01e712d0e4f7",
"metadata": {},
"source": [
"# Setup slic\n",
"We run our `cristallina.py` to setup the complete acquisition environment:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "cbd7faac-ff24-4e99-bb00-3536d868663f",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-10-27 at 21:12:40 | INFO | Loading started.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"could not set up DBusNotify: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"2023-10-27 at 21:12:41 | INFO | Connected to stand server\n"
]
}
],
"source": [
"%run /sf/cristallina/applications/slic/cristallina/cristallina.py"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "1dae028f-116d-42ea-aead-298be9f01de3",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"dummy at: 0\n"
]
}
],
"source": [
"# setup dummy axis for testing\n",
"dummy = DummyAdjustable()\n",
"print(f\"dummy at: {dummy.get_current_value()}\")"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "7396532a-dd7b-4acf-8aa9-c12662405d00",
"metadata": {},
"outputs": [],
"source": [
"bs_example_channels = [\n",
" \"SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG\",\n",
" \"SARFE10-PBIG050-EVR0:CALCI\",\n",
" \"SARES30-CAMS156-XE:x_fit_amplitude\",\n",
"] # \"SARES30-CAMS156-XE:FPICTURE\"]"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "8df87c3c-5870-4dc5-9990-3d57187b8f40",
"metadata": {},
"outputs": [],
"source": [
"from slic.core.scanner.scanbackend import is_only_sfdaq, is_sfdaq"
]
},
{
"cell_type": "markdown",
"id": "13bc2a3c-e3c1-4b14-8cec-d0d4f334987a",
"metadata": {},
"source": [
"is_sfdaq([acq])"
]
},
{
"cell_type": "markdown",
"id": "e16c139f-3422-41fc-8557-5cbe39115535",
"metadata": {},
"source": [
"# SFAcquisition example\n",
"\n",
"This requires an existing `pgroup`. The `default_data_base_dir` cannot be used to specify arbitrary directories as a target, instead the data is located in `/sf/<instrument>/data/<pgroup>/raw/run<XXXX>/data/acq<YYYY>.*.h5`."
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "3d465878-2118-4dea-a24a-219ff4252d88",
"metadata": {},
"outputs": [],
"source": [
"# TODO: requires the stand client, need small howto how to start and configure or let it run all the time\n",
"from slic.core.acquisition.spreadsheet import Spreadsheet\n",
"\n",
"from devices.diffractometer import diffractometer"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "c4f812f4-b6fa-463f-a367-121e139b972b",
"metadata": {},
"outputs": [],
"source": [
"# setup spreadsheet for transmission to stand\n",
"spreadsheet = Spreadsheet(\n",
" {\n",
" \"TD\": diffractometer.td,\n",
" \"TRX\": diffractometer.tr_x,\n",
" \"TRY\": diffractometer.tr_y,\n",
" \"TRXBASE\": diffractometer.trx_base,\n",
" \"TRYBASE\": diffractometer.try_base,\n",
" \"THETA\": diffractometer.theta,\n",
" \"TWOTHETA\": diffractometer.twotheta,\n",
" },\n",
" placeholders=(\"comment\", \"sample\"),\n",
" host=\"saresc-vcons-02.psi.ch\",\n",
" port=9090,\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 26,
"id": "026350d2-a6bf-4b02-abcc-f560b22bbdfb",
"metadata": {},
"outputs": [],
"source": [
"# spreadsheet.client.add_row(a=2, b=3, c=4)\n",
"# spreadsheet.client.clear()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "8232a299-dc8d-40aa-89d6-e493dac53382",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"diffractometer:\n",
"---------------\n",
"td: 103.19681000000014 mm\n",
"theta: 11.960531947702169°\n",
"tr_x: 0.24420500000019274 mm\n",
"tr_y: -9.000539999999773 mm\n",
"trx_base: 21.899259999999913 mm\n",
"try_base: 0.04305059738159045 mm\n",
"twotheta: 84.31402374990284°"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# show current diffractometer status\n",
"diffractometer"
]
},
{
"cell_type": "code",
"execution_count": 60,
"id": "2dddb44b-689f-4cdb-858f-103610bef3c6",
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Advanced run number to 47 for SF DAQ on http://sf-daq:10002 (status: idle, last run: 47).\n",
" run filename n_pulses comment sample scanned_adjs v_min v_max n_steps TD TRX TRY TRXBASE TRYBASE THETA TWOTHETA\n",
"0 27 Rocking_curve_003 50 SARES30-CPCL-ECMC02:ROTTHETA 11.00 13.00 201 103.193915 0.0 -7.639270 21.770540 0.043051 12.999782 24.000607\n",
"1 28 Rocking_curve_003_slightly_up 50 SARES30-CPCL-ECMC02:ROTTHETA 11.00 13.00 201 103.193905 0.0 -7.438835 21.970745 0.043051 12.000128 24.000651\n",
"2 29 Rocking_curve_003_slightly_up_few_pulses 5 SARES30-CPCL-ECMC02:ROTTHETA 11.00 13.00 201 103.193910 0.0 -7.436310 21.971195 0.043051 13.000497 24.000643\n",
"3 30 Rocking_curve_003_slightly_up_few_pulses 1 SARES30-CPCL-ECMC02:ROTTHETA 11.00 13.00 81 103.193920 0.0 -7.437965 21.970650 0.043051 11.040431 24.000655\n",
"4 31 Scanning_samples_TY 25 SARES30-CPCL-ECMC02:TRY -8.00 -3.00 51 103.193910 0.0 -2.999960 21.769105 0.043051 12.250101 24.000670\n",
"5 32 Scanning_samples_TY 25 SARES30-CPCL-ECMC02:TRY -8.00 -3.00 51 103.193910 0.0 -2.999915 21.769070 0.043051 12.250091 24.000664\n",
"6 33 Scanning_samples_TY 25 SARES30-CPCL-ECMC02:TRY -8.00 -3.00 51 103.193905 0.0 -3.100590 21.769125 0.043051 12.250109 24.000669\n",
"7 34 Scanning_samples_TY_up 25 SARES30-CPCL-ECMC02:TRY -9.00 -5.85 33 103.193900 0.0 -5.850505 21.769080 0.043051 12.250083 24.000664\n",
"8 35 Scanning_samples_TY_up 25 SARES30-CPCL-ECMC02:TRY -9.00 -5.90 32 103.193910 0.0 -5.850115 21.769050 0.043051 12.250064 24.000660\n",
"9 36 Rocking_curve_diagnostics 50 SARES30-CPCL-ECMC02:ROTTHETA 11.00 13.00 41 103.193925 0.0 -8.400120 21.769065 0.043051 12.250090 24.000670\n",
"10 37 Rocking_curve_002_upper_sample 50 SARES30-CPCL-ECMC02:ROTTHETA 16.80 17.80 21 103.193895 0.0 -9.002435 21.769135 0.043051 17.311481 33.400588\n",
"11 38 Rocking_curve_002_upper_sample 50 SARES30-CPCL-ECMC02:ROTTHETA 17.00 17.60 61 103.193880 0.0 -8.996335 21.769330 0.043051 17.800422 33.400582\n",
"12 39 Rocking_curve_404_upper_sample 50 SARES30-CPCL-ECMC02:ROTTHETA 14.20 14.80 61 103.193940 0.0 -8.999515 21.969135 0.043051 14.500278 79.300785\n",
"13 40 TRXBASE_404_upper_sample 50 SARES30-CPCL-ECMC02:TRXBASE 21.57 22.37 17 103.193935 0.0 -9.000290 21.968955 0.043051 14.499749 79.300764\n",
"14 42 TRXBASE_404_upper_sample 50 SARES30-CPCL-ECMC02:TRXBASE 21.57 22.37 17 103.193925 0.0 -9.000980 21.897890 0.043051 11.660335 84.314252\n",
"15 43 TRXTHETA_405_upper_sample 3 SARES30-CPCL-ECMC02:ROTTHETA 11.36 11.96 3 103.193940 0.0 -9.001410 21.897935 0.043051 11.660351 84.314274\n",
"16 44 TRXTHETA_405_upper_sample 60 SARES30-CPCL-ECMC02:ROTTHETA 11.36 11.96 25 103.193950 0.0 -8.997965 21.898145 0.043051 11.959667 84.314266\n",
"17 45 TRXTHETA_405_upper_sample 600 SARES30-CPCL-ECMC02:ROTTHETA 11.61 11.81 9 103.193930 0.0 -8.999090 21.898055 0.043051 11.709935 84.314311\n",
"18 46 TRXTHETA_405_upper_sample 60 SARES30-CPCL-ECMC02:ROTTHETA 11.61 11.81 9 103.193945 0.0 -9.000140 21.898060 0.043051 11.609870 84.314313\n",
"19 47 TRXTHETA_405_upper_sample 60 SARES30-CPCL-ECMC02:ROTTHETA 11.36 11.96 25 103.193915 0.0 -8.998365 21.898155 0.043051 11.810438 84.314316\n",
"\u001b[32mScan step 1 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 0.5 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 1.0 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 1.6 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 2.1 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 2.6 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 3.1 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 3.6 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 4.1 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 4.6 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 5.1 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 5.7 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 6.2 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 6.7 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 7.2 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 7.7 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 8.2 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 8.7 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 9.2 seconds.\n",
"Waited for 0.5 seconds and collected no(!) data points.\n",
"Is the source alive?\n",
"Condition is unhappy, waiting for OK conditions since 9.8 seconds.\n",
"Waited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Condition was unhappy, waited for 10.3 seconds.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:13, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 1\n",
"total acq number: 2309\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0001.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0001.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0001.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0001.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 63.7 seconds and collected 63 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 2 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:42, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 2\n",
"total acq number: 2310\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0002.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0002.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0002.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0002.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.6 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 3 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 3\n",
"total acq number: 2311\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0003.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0003.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0003.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0003.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 4 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 4\n",
"total acq number: 2312\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0004.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0004.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0004.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0004.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 5 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 5\n",
"total acq number: 2313\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0005.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0005.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0005.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0005.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 6 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 6\n",
"total acq number: 2314\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0006.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0006.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0006.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0006.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 7 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 7\n",
"total acq number: 2315\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0007.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0007.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0007.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0007.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 8 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 8\n",
"total acq number: 2316\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0008.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0008.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0008.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0008.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 9 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:23, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 9\n",
"total acq number: 2317\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0009.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0009.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0009.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0009.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.4 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 10 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 10\n",
"total acq number: 2318\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0010.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0010.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0010.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0010.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 11 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:43, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 11\n",
"total acq number: 2319\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0011.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0011.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0011.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0011.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.6 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 12 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 12\n",
"total acq number: 2320\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0012.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0012.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0012.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0012.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 13 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 13\n",
"total acq number: 2321\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0013.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0013.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0013.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0013.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 14 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:32, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 14\n",
"total acq number: 2322\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0014.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0014.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0014.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0014.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 15 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 15\n",
"total acq number: 2323\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0015.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0015.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0015.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0015.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 16 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 16\n",
"total acq number: 2324\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0016.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0016.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0016.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0016.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 17 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 17\n",
"total acq number: 2325\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0017.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0017.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0017.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0017.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 18 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:43, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 18\n",
"total acq number: 2326\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0018.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0018.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0018.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0018.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.6 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 19 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:22, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 19\n",
"total acq number: 2327\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0019.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0019.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0019.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0019.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.4 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 20 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 20\n",
"total acq number: 2328\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0020.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0020.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0020.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0020.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 21 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 21\n",
"total acq number: 2329\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0021.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0021.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0021.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0021.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 22 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 22\n",
"total acq number: 2330\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0022.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0022.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0022.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0022.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 23 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:43, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 23\n",
"total acq number: 2331\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0023.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0023.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0023.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0023.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.6 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 24 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:23, 1.0s/@]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 24\n",
"total acq number: 2332\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0024.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0024.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0024.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0024.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.4 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mScan step 25 of 25\n",
"\u001b[39mWaited for 0.5 seconds and collected 1 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"Moved adjustables, starting acquisition\n",
"Continuing run number 47.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%|█ | 60/6000 [01:00<1:39:33, 1.0s/@]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 47\n",
"acq number: 25\n",
"total acq number: 2333\n",
"\n",
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0025.PVDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0025.BSDATA.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0025.CAMERAS.h5\n",
"- /sf/cristallina/data/p21563/raw/run0047/data/acq0025.JF16T03V01.h5\n",
"Acquisition done\n",
"Waited for 61.5 seconds and collected 61 data points.\n",
"Condition happy: 100.0% within limits [-100, 2000), required was 80.0%.\n",
"\u001b[32mAll scan steps done\n",
"\u001b[39m"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n"
]
},
{
"data": {
"text/plain": [
"perform the following scan:\n",
"===========================\n",
"\n",
"A: Motor \"SARES30-CPCL-ECMC02:ROTTHETA\" at 11.960407811716198°\n",
"\n",
" # A\n",
"-- ------------------\n",
" 0 11.36\n",
" 1 11.385\n",
" 2 11.41\n",
" 3 11.434999999999999\n",
" 4 11.459999999999999\n",
" 5 11.485\n",
" 6 11.51\n",
" 7 11.535\n",
" 8 11.56\n",
" 9 11.585\n",
"10 11.61\n",
"11 11.635\n",
"12 11.66\n",
"13 11.685\n",
"14 11.71\n",
"15 11.735\n",
"16 11.76\n",
"17 11.785\n",
"18 11.81\n",
"19 11.835\n",
"20 11.860000000000001\n",
"21 11.885000000000002\n",
"22 11.91\n",
"23 11.935\n",
"24 11.96\n",
"\n",
"record 60 pulses per step to \"TRXTHETA_405_upper_sample\" via:\n",
"-------------------------------------------------------------\n",
"- SF DAQ on http://sf-daq:10002 (status: idle, last run: 47)"
]
},
"execution_count": 60,
"metadata": {},
"output_type": "execute_result"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"CA.Client.Exception...............................................\n",
" Warning: \"Virtual circuit unresponsive\"\n",
" Context: \"SAR-CPPM-EXPMX1.psi.ch:5064\"\n",
" Source File: ../tcpiiu.cpp line 926\n",
" Current Time: Wed Oct 25 2023 10:44:14.557413987\n",
"..................................................................\n",
"Unexpected problem with CA circuit to server \"SAR-CPPM-EXPMX1.psi.ch:5064\" was \"No route to host\" - disconnecting\n",
"CA.Client.Exception...............................................\n",
" Warning: \"Virtual circuit disconnect\"\n",
" Context: \"SAR-CPPM-EXPMX1.psi.ch:5064\"\n",
" Source File: ../cac.cpp line 1237\n",
" Current Time: Wed Oct 25 2023 10:59:38.288543515\n",
"..................................................................\n"
]
}
],
"source": [
"# setup acquisition\n",
"\n",
"# this requires an existing pgroup\n",
"acq = SFAcquisition(\n",
" \"cristallina\",\n",
" \"p21563\",\n",
" default_channels=bs_channels,\n",
" default_pvs=pvs,\n",
" spreadsheet=spreadsheet,\n",
" default_detectors=detectors,\n",
" rate_multiplicator=100,\n",
")\n",
"\n",
"scan.scan1D(\n",
" diffractometer.theta,\n",
" 11.66-0.3,\n",
" 11.66+0.3,\n",
" step_size=0.025,\n",
" n_pulses=60,\n",
" filename=\"TRXTHETA_405_upper_sample\",\n",
" acquisitions=[acq],\n",
" step_info=None,\n",
" return_to_initial_values=False,\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0a0066bf-b46a-4f99-a914-7df86f31e72f",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "967692ad-b303-43cd-af8a-be769d4a4d2d",
"metadata": {},
"source": [
"# Retrieve data"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "95f21deb-e8b5-455a-8de0-bf4ac05c14fb",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Advanced run number to 200.\n",
"No detectors specified, using default detector list.\n",
"No PVs specified, using default PV list.\n",
"No channels specified, using default channel list.\n",
"\u001b[31m\u001b[1mOffline Channels:\n",
"-----------------\n",
"- SARES30-CAMS156-XE:FPICTURE\n",
"- SARES30-CAMS156-XE:intensity\n",
"- SAROP31-PBPS113:INTENSITY\n",
"- SAROP31-PBPS113:INTENSITY_UJ\n",
"- SAROP31-PBPS113:XPOS\n",
"- SAROP31-PBPS113:YPOS\n",
"- SAROP31-PBPS149:INTENSITY\n",
"- SAROP31-PBPS149:INTENSITY_UJ\n",
"- SAROP31-PBPS149:XPOS\n",
"- SAROP31-PBPS149:YPOS\n",
"\u001b[39m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" 10%|██████▉ | 10/100 [00:01<00:09, 9.0 Hz]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"run number: 200\n",
"acq number: 1\n",
"total acq number: 694\n",
"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n"
]
},
{
"data": {
"text/plain": [
"DAQTask: done\n",
"\n",
"Output files:\n",
"-------------\n",
"- /sf/cristallina/data/p19150/raw/run0200/data/acq0001.PVDATA.h5\n",
"- /sf/cristallina/data/p19150/raw/run0200/data/acq0001.BSDATA.h5\n",
"- /sf/cristallina/data/p19150/raw/run0200/data/acq0001.CAMERAS.h5\n",
"- /sf/cristallina/data/p19150/raw/run0200/data/acq0001.JF16T03V01.h5"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from slic.core.acquisition.detcfg import DetectorConfig\n",
"\n",
"# TODO: JF settings regarding raw conversion, compression, etc.\n",
"detectors = [\n",
" \"JF16T03V01\",\n",
"]\n",
"\n",
"\n",
"# ALLOWED_PARAMS = dict(\n",
"# adc_to_energy = bool,\n",
"# compression = bool,\n",
"# crystfel_lists_laser = bool,\n",
"# disabled_modules = Sequence,\n",
"# double_pixels_action = [\"mask\", \"interp\", \"keep\"],\n",
"# downsample = tuple,\n",
"# factor = Number,\n",
"# geometry = bool,\n",
"# remove_raw_files = bool,\n",
"# roi = dict, #TODO: check on contents of the dict?\n",
"# save_dap_results = bool\n",
"# )\n",
"\n",
"detectors_with_config = DetectorConfig(detectors)\n",
"detectors_with_config[\"JF16T03V01\"]['save_dap_results'] = True\n",
"detectors_with_config[\"JF16T03V01\"]['remove_raw_files'] = True\n",
"\n",
"\n",
"acq = SFAcquisition(\n",
" \"cristallina\",\n",
" \"p19150\",\n",
" default_channels=bs_channels,\n",
" default_pvs=pvs,\n",
" spreadsheet=None,\n",
" default_detectors=detectors_with_config,\n",
" rate_multiplicator=10,\n",
")\n",
"acq.acquire('test', n_pulses=10)"
]
},
{
"cell_type": "code",
"execution_count": 19,
"id": "a59b3afd-1364-4f5c-a54d-7647bc3f5c0e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'run_number': 201,\n",
" 'acq_number': 1,\n",
" 'total_acq_number': 695,\n",
" 'filenames': ['/sf/cristallina/data/p19150/raw/run0201/data/acq0001.PVDATA.h5',\n",
" '/sf/cristallina/data/p19150/raw/run0201/data/acq0001.BSDATA.h5',\n",
" '/sf/cristallina/data/p19150/raw/run0201/data/acq0001.CAMERAS.h5',\n",
" '/sf/cristallina/data/p19150/raw/run0201/data/acq0001.JF16T03V01.h5']}"
]
},
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"acq.retrieve('test', pulseids=[19391810000,19391811000,19391812000])"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "6350a6f3-e35a-4897-b86d-d0b55e4ff80e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"3.3333333333333335"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"20e3/100/60"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "67a2da8f-2ced-4f41-ace5-90909cd2ebe1",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:conda-slic]",
"language": "python",
"name": "conda-env-conda-slic-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}