large reorganization, part 1 done
This commit is contained in:
@ -1,890 +0,0 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "e03fa003-fac5-44f7-b42f-2b718f6b966a",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b]0;⊚slic\u0007"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from slic.core.adjustable import Adjustable, PVAdjustable, DummyAdjustable\n",
|
||||
"from slic.core.scanner import Scanner\n",
|
||||
"\n",
|
||||
"from slic.core.acquisition import BSAcquisition, PVAcquisition, SFAcquisition\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "cbd7faac-ff24-4e99-bb00-3536d868663f",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2023-10-03 at 11:58:38 | INFO | Loading started.\n",
|
||||
"**** The executable \"caRepeater\" couldn't be located\n",
|
||||
"**** because of errno = \"No such file or directory\".\n",
|
||||
"**** You may need to modify your PATH environment variable.\n",
|
||||
"**** Unable to start \"CA Repeater\" process.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b]0;⊚slic\u0007"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2023-10-03 at 11:58:41 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Caught HTTPConnectionPool(host='saresc-vcons-02.psi.ch', port=9090): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa618d15640>: Failed to establish a new connection: [Errno 111] Connection refused')).\n",
|
||||
"2023-10-03 at 11:58:41 | WARNING | No transmission value reported from {attenuator.ID}\n",
|
||||
"2023-10-03 at 11:58:42 | INFO | Using undulator (Aramis) offset to PSSS energy of 0 eV.\n",
|
||||
"2023-10-03 at 11:58:42 | INFO | Running at cristallina with pgroup p19150.\n",
|
||||
"2023-10-03 at 11:58:42 | INFO | Loading finished.\n",
|
||||
"CA client library is unable to contact CA repeater after 50 tries.\n",
|
||||
"Silence this message by starting a CA repeater daemon\n",
|
||||
"or by calling ca_pend_event() and or ca_poll() more often.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# %run /sf/cristallina/applications/slic/cristallina/cristallina.py"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "1dae028f-116d-42ea-aead-298be9f01de3",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"dummy at: 0\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# setup dummy axis\n",
|
||||
"dummy = DummyAdjustable()\n",
|
||||
"print(f\"dummy at: {dummy.get_current_value()}\")\n",
|
||||
"\n",
|
||||
"# setup scanner\n",
|
||||
"scanner = Scanner(data_base_dir=\"/tmp/scan_data\", scan_info_dir=\"/tmp/scan_info\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "207bcb99-d34f-47c5-a417-4de42dfc253e",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# BS acquisition"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "7396532a-dd7b-4acf-8aa9-c12662405d00",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"bs_example_channels = ['SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', \"SARFE10-PBIG050-EVR0:CALCI\", \"SARES30-CAMS156-XE:x_fit_amplitude\",] # \"SARES30-CAMS156-XE:FPICTURE\"]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "099cd6df-26d6-43e7-bf80-87eabc0a42b5",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Directory \"/tmp/scan_info\" does not exist, creating it...\n",
|
||||
"Directory \"/tmp/scan_data/scan0000_test_bs\" does not exist, creating it...\n",
|
||||
"\u001b[32mScan step 1 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 0.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n",
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0000.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 2 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 1.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0001.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 3 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 2.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0002.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 4 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 3.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0003.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 5 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 4.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0004.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 6 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 5.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0005.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 7 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 6.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0006.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 8 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 7.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0007.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 9 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 8.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0008.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 10 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 9.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0009.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 11 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 10.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n",
|
||||
"[WARNING] bsread.data.helpers - 'type' channel field not found. Parse as 64-bit floating-point number float64 (default).\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Data Header: {'htype': 'bsr_d-1.1', 'channels': [{'name': 'SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', 'encoding': '>'}, {'name': 'SARFE10-PBIG050-EVR0:CALCI', 'encoding': '>'}]}\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0000_test_bs/scan0000_test_bs_step0010.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mAll scan steps done\n",
|
||||
"\u001b[39m"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"perform the following scan:\n",
|
||||
"===========================\n",
|
||||
"\n",
|
||||
"A: DummyAdjustable \"Dummy\" at 10.0\n",
|
||||
"\n",
|
||||
" # A\n",
|
||||
"-- ----\n",
|
||||
" 0 0.0\n",
|
||||
" 1 1.0\n",
|
||||
" 2 2.0\n",
|
||||
" 3 3.0\n",
|
||||
" 4 4.0\n",
|
||||
" 5 5.0\n",
|
||||
" 6 6.0\n",
|
||||
" 7 7.0\n",
|
||||
" 8 8.0\n",
|
||||
" 9 9.0\n",
|
||||
"10 10.0\n",
|
||||
"\n",
|
||||
"record 10 pulses per step to \"scan0000_test_bs\" via:\n",
|
||||
"----------------------------------------------------\n",
|
||||
"- BSAcquisition: example_instrument/example_pgroup"
|
||||
]
|
||||
},
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# setup acquisition \n",
|
||||
"acq = BSAcquisition('example_instrument', 'example_pgroup', default_channels=bs_example_channels, default_data_base_dir='/tmp')\n",
|
||||
"\n",
|
||||
"scanner.scan1D(dummy, 0, 10, step_size=1, n_pulses=10, filename='test_bs', acquisitions=[acq], step_info=None, return_to_initial_values=False)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 26,
|
||||
"id": "8df87c3c-5870-4dc5-9990-3d57187b8f40",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"False"
|
||||
]
|
||||
},
|
||||
"execution_count": 26,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"from slic.core.scanner.scanbackend import is_only_sfdaq, is_sfdaq\n",
|
||||
"is_sfdaq([acq])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "34bc4109-0de2-4a4f-9bb3-0f8ea03973d9",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "13bc2a3c-e3c1-4b14-8cec-d0d4f334987a",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"is_sfdaq([acq])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 28,
|
||||
"id": "5a455e3a-ae7a-4d3c-9e14-b42c24de8f36",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"False"
|
||||
]
|
||||
},
|
||||
"execution_count": 28,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit unresponsive\"\n",
|
||||
" Context: \"SARES30-CPPM-MOBI2.psi.ch:5064\"\n",
|
||||
" Source File: ../tcpiiu.cpp line 926\n",
|
||||
" Current Time: Tue Oct 03 2023 17:51:00.456204338\n",
|
||||
"..................................................................\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit unresponsive\"\n",
|
||||
" Context: \"SARES30-CPPM-MOBI1.psi.ch:5064\"\n",
|
||||
" Source File: ../tcpiiu.cpp line 926\n",
|
||||
" Current Time: Tue Oct 03 2023 17:54:13.473023696\n",
|
||||
"..................................................................\n",
|
||||
"Unexpected problem with CA circuit to server \"SARES30-CPPM-MOBI1.psi.ch:5064\" was \"Connection reset by peer\" - disconnecting\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit disconnect\"\n",
|
||||
" Context: \"SARES30-CPPM-MOBI1.psi.ch:5064\"\n",
|
||||
" Source File: ../cac.cpp line 1237\n",
|
||||
" Current Time: Tue Oct 03 2023 17:54:42.135508142\n",
|
||||
"..................................................................\n",
|
||||
"Unexpected problem with CA circuit to server \"SARES30-CPPM-MOBI2.psi.ch:5064\" was \"No route to host\" - disconnecting\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit disconnect\"\n",
|
||||
" Context: \"SARES30-CPPM-MOBI2.psi.ch:5064\"\n",
|
||||
" Source File: ../cac.cpp line 1237\n",
|
||||
" Current Time: Tue Oct 03 2023 18:06:26.581725132\n",
|
||||
"..................................................................\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"is_sfdaq([acq])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 21,
|
||||
"id": "e2c866cd-4051-4a1c-b4c8-a4372e14a180",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Directory \"/tmp/scan_data/scan0008_test_pv\" does not exist, creating it...\n",
|
||||
"\u001b[32mScan step 1 of 11\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 0.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"No channels specified, using default channel list.\n",
|
||||
"Stopping because of: TaskError: Exception in Task\n",
|
||||
"caused by ConnectionError: connection to the following PVs timed out (1 sec): SARES30-MOBI1:MOT_1.RBV, SARES30-MOBI1:MOT_2.RBV, SARES30-MOBI1:MOT_3.RBV, SARES30-MOBI1:MOT_5.RBV, SARFE10-PBPS053:MOTOR_X2, SAROP31-OPPI151:MOTOR_X.RBV, SAROP31-OPPI151:MOTOR_Y.RBV\n",
|
||||
"Stopping caused: TaskError: Exception in Task\n",
|
||||
"caused by ConnectionError: connection to the following PVs timed out (1 sec): SARES30-MOBI1:MOT_1.RBV, SARES30-MOBI1:MOT_2.RBV, SARES30-MOBI1:MOT_3.RBV, SARES30-MOBI1:MOT_5.RBV, SARFE10-PBPS053:MOTOR_X2, SAROP31-OPPI151:MOTOR_X.RBV, SAROP31-OPPI151:MOTOR_Y.RBV\n",
|
||||
"Stopped current DAQ tasks:\n",
|
||||
"\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /tmp/scan_data/scan0008_test_pv/scan0008_test_pv_step0000.h5\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"perform the following scan:\n",
|
||||
"===========================\n",
|
||||
"\n",
|
||||
"A: DummyAdjustable \"Dummy\" at 0.0\n",
|
||||
"\n",
|
||||
" # A\n",
|
||||
"-- ----\n",
|
||||
" 0 0.0\n",
|
||||
" 1 1.0\n",
|
||||
" 2 2.0\n",
|
||||
" 3 3.0\n",
|
||||
" 4 4.0\n",
|
||||
" 5 5.0\n",
|
||||
" 6 6.0\n",
|
||||
" 7 7.0\n",
|
||||
" 8 8.0\n",
|
||||
" 9 9.0\n",
|
||||
"10 10.0\n",
|
||||
"\n",
|
||||
"record 10 pulses per step to \"scan0008_test_pv\" via:\n",
|
||||
"----------------------------------------------------\n",
|
||||
"- PVAcquisition: cristallina/p19150"
|
||||
]
|
||||
},
|
||||
"execution_count": 21,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"scanner.scan1D(dummy, 0, 10, step_size=1, n_pulses=10, filename='test_pv', acquisitions=[acq], step_info=None, return_to_initial_values=False)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "e35014f0-3e5d-49fb-bf7b-e8ffad4c92f2",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"id": "d5816898-f66e-4504-90cb-8d0e54ba3c23",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'pvs' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[8], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m acq \u001b[38;5;241m=\u001b[39m PVAcquisition(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mexample_instrument\u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mexample_pgroup\u001b[39m\u001b[38;5;124m'\u001b[39m, default_channels\u001b[38;5;241m=\u001b[39m\u001b[43mpvs\u001b[49m, default_data_base_dir\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m/tmp\u001b[39m\u001b[38;5;124m'\u001b[39m)\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'pvs' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"acq = PVAcquisition('example_instrument', 'example_pgroup', default_channels=pvs, default_data_base_dir='/tmp')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": null,
|
||||
"id": "3e374115-4807-47cf-8a3e-034462011493",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"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",
|
||||
"import os\n",
|
||||
"os.chdir(\"/sf/cristallina/applications/slic/cristallina\")\n",
|
||||
"# %run /sf/cristallina/applications/slic/cristallina/cristallina.py\n",
|
||||
"from devices.diffractometer import diffractometer\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 27,
|
||||
"id": "c4f812f4-b6fa-463f-a367-121e139b972b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"spreadsheet = Spreadsheet({\"TD\": diffractometer.td},\n",
|
||||
" placeholders=('comment', 'sample'),\n",
|
||||
" host='saresc-vcons-02.psi.ch',\n",
|
||||
" port=9090,)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 23,
|
||||
"id": "2c6852f5-9aa5-4d4b-8c1c-7558720f3e2e",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"Motor \"SARES30-CPCL-ECMC02:TD\" at 115.00409000000013 mm"
|
||||
]
|
||||
},
|
||||
"execution_count": 23,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"diffractometer.td"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 22,
|
||||
"id": "026350d2-a6bf-4b02-abcc-f560b22bbdfb",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
" a b c\n",
|
||||
"0 2 3 4"
|
||||
]
|
||||
},
|
||||
"execution_count": 22,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"spreadsheet.client.add_row(a=2, b=3, c=4)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 28,
|
||||
"id": "2dddb44b-689f-4cdb-858f-103610bef3c6",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Advanced run number to 192 for SF DAQ on http://sf-daq:10002 (status: idle, last run: 192).\n",
|
||||
" a b c run filename n_pulses comment sample scanned_adjs v_min v_max n_steps TD\n",
|
||||
"0 2.0 3.0 4.0 NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN\n",
|
||||
"1 NaN NaN NaN 192.0 test_bs 10.0 Dummy 0.0 2.0 3.0 115.004265\n",
|
||||
"\u001b[32mScan step 1 of 3\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 0.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"Continuing run number 192.\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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 49.7 Hz]\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"run number: 192\n",
|
||||
"acq number: 1\n",
|
||||
"total acq number: 687\n",
|
||||
"\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /sf/cristallina/data/p19150/raw/run0192/data/acq0001.BSDATA.h5\n",
|
||||
"- /sf/cristallina/data/p19150/raw/run0192/data/acq0001.CAMERAS.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 2 of 3\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 1.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"Continuing run number 192.\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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 49.7 Hz]\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"run number: 192\n",
|
||||
"acq number: 2\n",
|
||||
"total acq number: 688\n",
|
||||
"\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /sf/cristallina/data/p19150/raw/run0192/data/acq0002.BSDATA.h5\n",
|
||||
"- /sf/cristallina/data/p19150/raw/run0192/data/acq0002.CAMERAS.h5\n",
|
||||
"Acquisition done\n",
|
||||
"\u001b[32mScan step 3 of 3\n",
|
||||
"\u001b[39mDummyAdjustable \"Dummy\" at 2.0\n",
|
||||
"Moved adjustables, starting acquisition\n",
|
||||
"Continuing run number 192.\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"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 10/10 [00:00<00:00, 49.7 Hz]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"run number: 192\n",
|
||||
"acq number: 3\n",
|
||||
"total acq number: 689\n",
|
||||
"\n",
|
||||
"DAQTask: done\n",
|
||||
"\n",
|
||||
"Output files:\n",
|
||||
"-------------\n",
|
||||
"- /sf/cristallina/data/p19150/raw/run0192/data/acq0003.BSDATA.h5\n",
|
||||
"- /sf/cristallina/data/p19150/raw/run0192/data/acq0003.CAMERAS.h5\n",
|
||||
"Acquisition done\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: DummyAdjustable \"Dummy\" at 2.0\n",
|
||||
"\n",
|
||||
"# A\n",
|
||||
"- ---\n",
|
||||
"0 0.0\n",
|
||||
"1 1.0\n",
|
||||
"2 2.0\n",
|
||||
"\n",
|
||||
"record 10 pulses per step to \"test_bs\" via:\n",
|
||||
"-------------------------------------------\n",
|
||||
"- SF DAQ on http://sf-daq:10002 (status: idle, last run: 192)"
|
||||
]
|
||||
},
|
||||
"execution_count": 28,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# setup acquisition \n",
|
||||
"\n",
|
||||
"bs_example_channels = ['SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG', \"SARFE10-PBIG050-EVR0:CALCI\", \"SARES30-CAMS156-XE:x_fit_amplitude\", \"SARES30-CAMS156-XE:FPICTURE\"]\n",
|
||||
"\n",
|
||||
"# this requires an existing pgroup\n",
|
||||
"acq = SFAcquisition('example_instrument', 'p19150', default_channels=bs_example_channels, default_data_base_dir='/tmp', spreadsheet=spreadsheet)\n",
|
||||
"scanner.scan1D(dummy, 0, 2, step_size=1, n_pulses=10, filename='test_bs', acquisitions=[acq], step_info=None, return_to_initial_values=False)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "d5c65482-4b5e-4baa-943f-e35cf384b67c",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,71 +0,0 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "bc11382b-bbae-4541-b117-58cc4cafd737",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Playing WAVE '/tmp/ImperialMarch60.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import subprocess\n",
|
||||
"res = subprocess.run([\"aplay\", \"/tmp/ImperialMarch60.wav\"])\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "baf1c729-d9e3-484a-bf51-b9eaa5e6f3ff",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Playing WAVE '/tmp/ImperialMarch60.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"proc = subprocess.Popen([\"aplay /tmp/ImperialMarch60.wav\"], shell=True,\n",
|
||||
" stdin=None, stdout=None, stderr=None, close_fds=True)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "436cfe45-c941-45fa-82af-ad1a8b819eb3",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
@ -1,248 +0,0 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "e0a0b5eb-b6bd-4fb7-abe9-8c61318260f7",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\u001b]0;⊚slic\u0007"
|
||||
]
|
||||
}
|
||||
],
|
||||
"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\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "8f30e2a0-c4d7-4bdd-a0b5-48662d807568",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2023-10-29 at 21:54:56 | INFO | Loading started.\n",
|
||||
"2023-10-29 at 21:54:57 | INFO | Connected to stand server\n",
|
||||
"2023-10-29 at 21:54:58 | INFO | Using undulator (Aramis) offset to PSSS energy of -62 eV.\n",
|
||||
"2023-10-29 at 21:54:58 | INFO | Running at cristallina with pgroup p21563.\n",
|
||||
"2023-10-29 at 21:54:58 | INFO | Loading finished.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"%run /sf/cristallina/applications/slic/cristallina/cristallina.py\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"id": "85a7d2d3-794a-49e1-9dec-2c85ebad7730",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Run the scan only when gas monitor value larger than 10uJ (and smaller than 2000uJ):\n",
|
||||
"# required fraction defines ammount of data recorded to save the step and move on to the next one\n",
|
||||
"check_intensity_gas_monitor = PVCondition(\n",
|
||||
" \"SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-US\",\n",
|
||||
" vmin=75,\n",
|
||||
" vmax=2000,\n",
|
||||
" wait_time=0.5,\n",
|
||||
" required_fraction=0.8,\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"id": "a627e0fb-ecf2-4e14-8c8e-e470c9558059",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"True"
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"check_intensity_gas_monitor.check()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"id": "a0e05c2f-2b76-4a8f-8394-b04bb4d6b2f5",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"8285.310467258269"
|
||||
]
|
||||
},
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"undulators.get()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"id": "2175e207-6df8-434c-8d00-985f1149dc27",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from slic.utils import typename, nice_linspace, nice_arange"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"id": "18767387-ae51-4d1f-a4a1-1e0015016324",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"center = 11.779\n",
|
||||
"delta = 0.1\n",
|
||||
"\n",
|
||||
"#scan.scan1D(\n",
|
||||
"# diffractometer.theta,\n",
|
||||
"# center-delta,\n",
|
||||
"# center+delta,\n",
|
||||
"# step_size=0.025,"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 18,
|
||||
"id": "6d22b87f-2063-4cb7-bef0-55a4263d4890",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"array([11.679, 11.704, 11.729, 11.754, 11.779, 11.804, 11.829, 11.854,\n",
|
||||
" 11.879, 11.904])"
|
||||
]
|
||||
},
|
||||
"execution_count": 18,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"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 Nov 01 2023 15:13:05.052862079\n",
|
||||
"..................................................................\n",
|
||||
"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: Fri Nov 03 2023 09:09:46.672425316\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: Fri Nov 03 2023 09:25:12.648406223\n",
|
||||
"..................................................................\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit disconnect\"\n",
|
||||
" Context: \"sf-saresc-cagw-01.psi.ch:5062\"\n",
|
||||
" Source File: ../cac.cpp line 1237\n",
|
||||
" Current Time: Sun Nov 05 2023 12:20:46.598231213\n",
|
||||
"..................................................................\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit disconnect\"\n",
|
||||
" Context: \"sf-saresc-cagw-01.psi.ch:5062\"\n",
|
||||
" Source File: ../cac.cpp line 1237\n",
|
||||
" Current Time: Sun Nov 05 2023 12:22:30.890766667\n",
|
||||
"..................................................................\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit unresponsive\"\n",
|
||||
" Context: \"SARES30-CPPM-MOBI1.psi.ch:5064\"\n",
|
||||
" Source File: ../tcpiiu.cpp line 926\n",
|
||||
" Current Time: Mon Nov 06 2023 11:43:52.744259068\n",
|
||||
"..................................................................\n",
|
||||
"Unexpected problem with CA circuit to server \"SARES30-CPPM-MOBI1.psi.ch:5064\" was \"Connection reset by peer\" - disconnecting\n",
|
||||
"CA.Client.Exception...............................................\n",
|
||||
" Warning: \"Virtual circuit disconnect\"\n",
|
||||
" Context: \"SARES30-CPPM-MOBI1.psi.ch:5064\"\n",
|
||||
" Source File: ../cac.cpp line 1237\n",
|
||||
" Current Time: Mon Nov 06 2023 11:44:07.434289668\n",
|
||||
"..................................................................\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"positions = nice_arange(center-delta, center+delta+0.025, 0.025)\n",
|
||||
"positions\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 17,
|
||||
"id": "d995a8be-f9e7-46c5-add4-7b8717f14c9b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"positions = [11.779, 11.679, 11.704, 11.729, 11.754, 11.804, 11.829, 11.854,\n",
|
||||
" 11.879]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "ccb7f011-65d2-41e9-9c83-0d1e8ab3a9d8",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"scan.ascan_list("
|
||||
]
|
||||
}
|
||||
],
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "d1bead0c-2489-4672-ab51-5e75974dd4ab",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'attenuator' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[1], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43mattenuator\u001b[49m\u001b[38;5;241m.\u001b[39mfoils\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'attenuator' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"attenuator.foils\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "b2a73dd0-1136-44b7-b625-e5fdcd8ec8dc",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"attenuator.foils.pv_names.get()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "b1e94427-0f7d-4dd9-b61a-3d65135445ff",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"attenuator.foils.pv_index.get()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "66d002ac-1625-4b0d-91c5-f7daa1bd941b",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'attenuator' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43mattenuator\u001b[49m\u001b[38;5;241m.\u001b[39mfoils\u001b[38;5;241m.\u001b[39mpv_index\u001b[38;5;241m.\u001b[39mget()\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'attenuator' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"attenuator.foils.pv_index.get()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "b0f5509a-944a-4a2e-a6d1-56785beb359a",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'attenuator' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[3], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[43mattenuator\u001b[49m\u001b[38;5;241m.\u001b[39mfoils\u001b[38;5;241m.\u001b[39mpv_index\u001b[38;5;241m.\u001b[39mget()\n\u001b[1;32m 3\u001b[0m \u001b[38;5;66;03m# 0 := None\u001b[39;00m\n\u001b[1;32m 4\u001b[0m \u001b[38;5;66;03m# 1 := 2\u001b[39;00m\n\u001b[1;32m 5\u001b[0m \u001b[38;5;66;03m# 2 := 3\u001b[39;00m\n\u001b[1;32m 6\u001b[0m \u001b[38;5;66;03m# 3 := 4\u001b[39;00m\n\u001b[1;32m 7\u001b[0m \u001b[38;5;66;03m# 4 := 5\u001b[39;00m\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'attenuator' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"attenuator.foils.pv_index.get()\n",
|
||||
"\n",
|
||||
"# 0 := None\n",
|
||||
"# 1 := 2\n",
|
||||
"# 2 := 3\n",
|
||||
"# 3 := 4\n",
|
||||
"# 4 := 5\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "aa5aee6a-5b3f-4693-8b52-7e142872449b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"attenuator.foils.pv_names"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python [conda env:conda-analysis_edge] *",
|
||||
"language": "python",
|
||||
"name": "conda-env-conda-analysis_edge-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.11.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
58
beamline/components.py
Normal file
58
beamline/components.py
Normal file
@ -0,0 +1,58 @@
|
||||
from slic.devices.xoptics.aramis_attenuator import Attenuator
|
||||
from slic.devices.xoptics.pulsepicker import PulsePicker
|
||||
from slic.devices.xdiagnostics.intensitymonitor import IntensityMonitorPBPS
|
||||
|
||||
from .alignment_laser import AlignmentLaser
|
||||
|
||||
from slic.devices.xoptics.kb import KBHor, KBVer
|
||||
|
||||
from .pp_shutter import PP_Shutter
|
||||
|
||||
|
||||
upstream_attenuator = Attenuator("SARFE10-OATT053", description="Aramis attenuator OATT053")
|
||||
|
||||
attenuator = Attenuator("SAROP31-OATA150", description="Cristallina attenuator OATA150")
|
||||
|
||||
|
||||
|
||||
# Shutter
|
||||
shutter = PP_Shutter(
|
||||
"SARES30-LTIM01-EVR0:RearUniv0-Ena-SP", name="Cristallina pulse picker shutter"
|
||||
) # Shutter button when using the pulse picker
|
||||
|
||||
|
||||
pulsepicker = PulsePicker(
|
||||
"SAROP31-OPPI151",
|
||||
"SARES30-LTIM01-EVR0:Pul3",
|
||||
name="Cristallina X-ray pulse picker OPPI151",
|
||||
)
|
||||
|
||||
|
||||
front_end_attenuator = Attenuator(
|
||||
"SARFE10-OATT053", description="Front end attenuator OATT053"
|
||||
)
|
||||
|
||||
|
||||
# Alignment laser
|
||||
alignment_laser = AlignmentLaser(
|
||||
"SAROP31-OLAS147:MOTOR_1", name="Cristallina alignment laser OLAS147"
|
||||
)
|
||||
|
||||
pbps113 = IntensityMonitorPBPS(
|
||||
"SAROP31-PBPS113",
|
||||
# vme_crate="SAROP31-CVME-PBPS1", # please check this!
|
||||
# link=9,
|
||||
description="Intensity/position monitor in the optics hutch",
|
||||
)
|
||||
|
||||
pbps149 = IntensityMonitorPBPS(
|
||||
"SAROP31-PBPS149",
|
||||
# vme_crate="SAROP31-CVME-PBPS2", # please check this!
|
||||
# link=9,
|
||||
description="Intensity/position monitor in the experimental hutch",
|
||||
)
|
||||
|
||||
|
||||
|
||||
kbHor = KBHor("SAROP31-OKBH154", description="Cristallina horizontal KB mirror")
|
||||
kbVer = KBVer("SAROP31-OKBV153", description="Cristallina vertical KB mirror")
|
@ -3,7 +3,9 @@ from slic.utils import typename
|
||||
|
||||
|
||||
class PP_Shutter:
|
||||
"""Class for when pulse picker is used as a shutter. Opening and closing is done with turning on and off the event reciever universal output ON and OFF."""
|
||||
"""Class for when pulse picker is used as a shutter.
|
||||
Opening and closing is done with turning on and off the event receiver universal output ON and OFF.
|
||||
"""
|
||||
|
||||
def __init__(self, ID, name="X-ray Pulse Picker Shutter"):
|
||||
self.ID = ID
|
@ -1,6 +1,7 @@
|
||||
|
||||
from epics import PV
|
||||
|
||||
# TODO: all these values have not been checked since the reorganization of the EVR outputs!
|
||||
def pp_normal(opening = True):
|
||||
""" Set pulse picker to fixed open or closed mode.
|
||||
"""
|
@ -9,8 +9,8 @@ from slic.core.acquisition.detcfg import DetectorConfig
|
||||
|
||||
# TODO: JF settings regarding raw conversion, compression, etc.
|
||||
detectors = [
|
||||
# "JF16T03V01",
|
||||
"JF17T16V01",
|
||||
"JF16T03V01",
|
||||
# "JF17T16V01",
|
||||
]
|
||||
|
||||
# ALLOWED_PARAMS = dict(
|
||||
@ -32,17 +32,17 @@ detectors = DetectorConfig(detectors)
|
||||
# detectors_with_config["JF16T03V01"]['remove_raw_files'] = True
|
||||
# detectors_with_config["JF16T03V01"]['disabled_modules'] = [0, 1] # bottom module:0, middle module:1, top module:2
|
||||
|
||||
detectors["JF17T16V01"]['disabled_modules'] = [0, 1, 2, 3,
|
||||
9, 10, 11,
|
||||
12, 13, 14, 15] # bottom module:0, middle module:1, top module:2
|
||||
#detectors["JF17T16V01"]['disabled_modules'] = [0, 1, 2, 3,
|
||||
# 9, 10, 11,
|
||||
# 12, 13, 14, 15] # bottom module:0, middle module:1, top module:2
|
||||
|
||||
|
||||
detectors["JF17T16V01"]['remove_raw_files'] = True # We switched off quite a few modules, let's not keep all the raw data.
|
||||
detectors["JF17T16V01"]['compression'] = True
|
||||
detectors["JF17T16V01"]['adc_to_energy'] = True # We switched off quite a few modules, let's not keep all the raw data.
|
||||
detectors["JF17T16V01"]['factor'] = 0.2 # Some useful compromise to save space.
|
||||
detectors["JF17T16V01"]['save_dap_results'] = False
|
||||
detectors["JF17T16V01"]['geometry'] = False
|
||||
#detectors["JF17T16V01"]['remove_raw_files'] = True # We switched off quite a few modules, let's not keep all the raw data.
|
||||
#detectors["JF17T16V01"]['compression'] = True
|
||||
#detectors["JF17T16V01"]['adc_to_energy'] = True # We switched off quite a few modules, let's not keep all the raw data.
|
||||
#detectors["JF17T16V01"]['factor'] = 0.2 # Some useful compromise to save space.
|
||||
#detectors["JF17T16V01"]['save_dap_results'] = False
|
||||
#detectors["JF17T16V01"]['geometry'] = False
|
||||
|
||||
|
||||
detectors_MX = DetectorConfig()
|
||||
|
@ -1,259 +0,0 @@
|
||||
# Channels at Cristallina endstation
|
||||
|
||||
|
||||
##########################################################################################################
|
||||
# BS channels
|
||||
|
||||
# TODO: JF settings regarding raw conversion, compression, etc.
|
||||
detectors = [
|
||||
# "JF16T03V01",
|
||||
]
|
||||
|
||||
####################
|
||||
channels_gas_monitor = [
|
||||
"SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG",
|
||||
"SARFE10-PBPG050:SLOW-X",
|
||||
"SARFE10-PBPG050:SLOW-Y",
|
||||
"SARFE10-PBIG050-EVR0:CALCI", # good for correlations with total beam intensity
|
||||
"SARFE10-PBPG050:HAMP-INTENSITY-CAL",
|
||||
]
|
||||
|
||||
######################
|
||||
### PCO edge camera for the wavefront analysis
|
||||
channels_PCO = [
|
||||
"SARES30-CAMS156-PCO1:FPICTURE",
|
||||
]
|
||||
|
||||
######################
|
||||
### SwissMX OAV camera picture
|
||||
channels_OAV = [] # "SARES30-CAMS156-SMX-OAV:FPICTURE",
|
||||
|
||||
######################
|
||||
### PBPS053
|
||||
channels_PBPS053 = [
|
||||
"SARFE10-PBPS053:INTENSITY",
|
||||
"SARFE10-PBPS053:XPOS",
|
||||
"SARFE10-PBPS053:YPOS",
|
||||
]
|
||||
|
||||
###################################
|
||||
### Beam position monitor PBPS113
|
||||
channels_PBPS113 = [
|
||||
"SAROP31-PBPS113:INTENSITY",
|
||||
"SAROP31-PBPS113:INTENSITY_UJ",
|
||||
"SAROP31-PBPS113:Lnk9Ch0-PP_VAL_PD0",
|
||||
"SAROP31-PBPS113:Lnk9Ch0-PP_VAL_PD1",
|
||||
"SAROP31-PBPS113:Lnk9Ch0-PP_VAL_PD2",
|
||||
"SAROP31-PBPS113:Lnk9Ch0-PP_VAL_PD3",
|
||||
"SAROP31-PBPS113:Lnk9Ch0-PP_VAL_PD4",
|
||||
"SAROP31-PBPS113:XPOS",
|
||||
"SAROP31-PBPS113:YPOS",
|
||||
]
|
||||
|
||||
|
||||
####################
|
||||
## PSS059
|
||||
channels_pss059 = [
|
||||
# "SARFE10-PSSS059:FPICTURE", # full pictures only when really needed
|
||||
"SARFE10-PSSS059:SPECTRUM_X",
|
||||
"SARFE10-PSSS059:SPECTRUM_Y",
|
||||
"SARFE10-PSSS059:SPECTRUM_CENTER",
|
||||
"SARFE10-PSSS059:SPECTRUM_COM",
|
||||
"SARFE10-PSSS059:SPECTRUM_FWHM",
|
||||
"SARFE10-PSSS059:SPECTRUM_STD",
|
||||
"SARFE10-PSSS059:FIT_ERR",
|
||||
"SARFE10-PSSS059:processing_parameters",
|
||||
# SARFE10-PSSS059:SPECTRUM_AVG_CENTER
|
||||
# SARFE10-PSSS059:SPECTRUM_AVG_FWHM
|
||||
# SARFE10-PSSS059:SPECTRUM_AVG_Y
|
||||
]
|
||||
|
||||
|
||||
#######################
|
||||
# from _proc process
|
||||
channels_PPRM113 = [
|
||||
"SAROP31-PPRM113:intensity",
|
||||
"SAROP31-PPRM113:x_center_of_mass",
|
||||
"SAROP31-PPRM113:x_fit_amplitude",
|
||||
"SAROP31-PPRM113:x_fit_mean",
|
||||
"SAROP31-PPRM113:x_fit_offset",
|
||||
"SAROP31-PPRM113:x_fit_standard_deviation",
|
||||
"SAROP31-PPRM113:x_fwhm",
|
||||
"SAROP31-PPRM113:x_profile",
|
||||
"SAROP31-PPRM113:x_rms",
|
||||
"SAROP31-PPRM113:y_center_of_mass",
|
||||
"SAROP31-PPRM113:y_fit_amplitude",
|
||||
"SAROP31-PPRM113:y_fit_mean",
|
||||
"SAROP31-PPRM113:y_fit_offset",
|
||||
"SAROP31-PPRM113:y_fit_standard_deviation",
|
||||
"SAROP31-PPRM113:y_fwhm",
|
||||
"SAROP31-PPRM113:y_profile",
|
||||
"SAROP31-PPRM113:y_rms",
|
||||
# "SAROP31-PPRM113:FPICTURE", # full pictures for debugging purposes at the moment, from _ib process
|
||||
]
|
||||
|
||||
#######################
|
||||
# from _proc process
|
||||
channels_PPRM150 = [
|
||||
"SAROP31-PPRM150:intensity",
|
||||
"SAROP31-PPRM150:x_center_of_mass",
|
||||
"SAROP31-PPRM150:x_fit_amplitude",
|
||||
"SAROP31-PPRM150:x_fit_mean",
|
||||
"SAROP31-PPRM150:x_fit_offset",
|
||||
"SAROP31-PPRM150:x_fit_standard_deviation",
|
||||
"SAROP31-PPRM150:x_fwhm",
|
||||
"SAROP31-PPRM150:x_profile",
|
||||
"SAROP31-PPRM150:x_rms",
|
||||
"SAROP31-PPRM150:y_center_of_mass",
|
||||
"SAROP31-PPRM150:y_fit_amplitude",
|
||||
"SAROP31-PPRM150:y_fit_mean",
|
||||
"SAROP31-PPRM150:y_fit_offset",
|
||||
"SAROP31-PPRM150:y_fit_standard_deviation",
|
||||
"SAROP31-PPRM150:y_fwhm",
|
||||
"SAROP31-PPRM150:y_profile",
|
||||
"SAROP31-PPRM150:y_rms",
|
||||
# "SAROP31-PPRM150:FPICTURE", # full pictures for debugging purposes at the moment, from _ib process
|
||||
]
|
||||
|
||||
###########################
|
||||
# Beam position monitor
|
||||
channel_PBPS149 = [
|
||||
"SAROP31-PBPS149:INTENSITY",
|
||||
"SAROP31-PBPS149:INTENSITY_UJ",
|
||||
"SAROP31-PBPS149:Lnk9Ch0-PP_VAL_PD0",
|
||||
"SAROP31-PBPS149:Lnk9Ch0-PP_VAL_PD1",
|
||||
"SAROP31-PBPS149:Lnk9Ch0-PP_VAL_PD2",
|
||||
"SAROP31-PBPS149:Lnk9Ch0-PP_VAL_PD3",
|
||||
"SAROP31-PBPS149:Lnk9Ch0-PP_VAL_PD4",
|
||||
"SAROP31-PBPS149:XPOS",
|
||||
"SAROP31-PBPS149:YPOS",
|
||||
]
|
||||
|
||||
|
||||
further_channels = [
|
||||
####################
|
||||
## Digitizer
|
||||
# Integration limits
|
||||
"SARES30-LTIM01-EVR0:DUMMY_PV1_NBS",
|
||||
"SARES30-LTIM01-EVR0:DUMMY_PV2_NBS",
|
||||
"SARES30-LTIM01-EVR0:DUMMY_PV3_NBS",
|
||||
"SARES30-LTIM01-EVR0:DUMMY_PV4_NBS",
|
||||
# Signal-Background
|
||||
"SARES30-LSCP1-FNS:CH0:VAL_GET",
|
||||
# Waveform signal
|
||||
"SARES30-LSCP1-CRISTA1:CH0:1",
|
||||
# Waveform trigger
|
||||
"SARES30-LSCP1-CRISTA1:CH2:1",
|
||||
# Calculated intensity
|
||||
"SARES30-LTIM01-EVR0:CALCI",
|
||||
]
|
||||
|
||||
|
||||
channels = (
|
||||
channels_gas_monitor
|
||||
+ channels_PCO
|
||||
+ channels_OAV
|
||||
+ channels_PBPS053
|
||||
+ channels_pss059
|
||||
+ channels_PPRM113
|
||||
+ channels_PPRM150
|
||||
+ channel_PBPS149
|
||||
+ channel_PBPS149
|
||||
+ further_channels
|
||||
)
|
||||
|
||||
##########################################################################################################
|
||||
|
||||
pv_channels = [
|
||||
####################
|
||||
## OAPU044
|
||||
"SARFE10-OAPU044:MOTOR_X",
|
||||
"SARFE10-OAPU044:MOTOR_Y",
|
||||
"SARFE10-OAPU044:MOTOR_W",
|
||||
"SARFE10-OAPU044:MOTOR_H",
|
||||
####################
|
||||
## OATT053
|
||||
"SARFE10-OATT053:MOTOR_1",
|
||||
"SARFE10-OATT053:MOTOR_1.RBV",
|
||||
"SARFE10-OATT053:MOTOR_2",
|
||||
"SARFE10-OATT053:MOTOR_2.RBV",
|
||||
"SARFE10-OATT053:MOTOR_3",
|
||||
"SARFE10-OATT053:MOTOR_3.RBV",
|
||||
"SARFE10-OATT053:MOTOR_4",
|
||||
"SARFE10-OATT053:MOTOR_4.RBV",
|
||||
"SARFE10-OATT053:MOTOR_5",
|
||||
"SARFE10-OATT053:MOTOR_5.RBV",
|
||||
"SARFE10-OATT053:MOTOR_6",
|
||||
"SARFE10-OATT053:MOTOR_6.RBV",
|
||||
"SARFE10-OATT053:ENERGY",
|
||||
"SARFE10-OATT053:TRANS_SP",
|
||||
"SARFE10-OATT053:TRANS_RB",
|
||||
####################
|
||||
## OATA150
|
||||
"SAROP31-OATA150:MOTOR_1",
|
||||
"SAROP31-OATA150:MOTOR_2",
|
||||
"SAROP31-OATA150:MOTOR_3",
|
||||
"SAROP31-OATA150:MOTOR_4",
|
||||
"SAROP31-OATA150:MOTOR_5",
|
||||
"SAROP31-OATA150:MOTOR_6",
|
||||
####################
|
||||
## PSSS
|
||||
"SARFE10-PSSS059:MOTOR_Y3.VAL",
|
||||
"SARFE10-PSSS059:MOTOR_ROT_X3.VAL",
|
||||
"SARFE10-PSSS059:MOTOR_X5.VAL",
|
||||
"SARFE10-PSSS059:MOTOR_X3.VAL",
|
||||
###########################
|
||||
# KB mirrors
|
||||
"SAROP31-OKBV153:W_X.RBV",
|
||||
"SAROP31-OKBV153:W_Y.RBV",
|
||||
"SAROP31-OKBV153:W_RX.RBV",
|
||||
"SAROP31-OKBV153:W_RY.RBV",
|
||||
"SAROP31-OKBV153:W_RZ.RBV",
|
||||
"SAROP31-OKBV153:BU.RBV",
|
||||
"SAROP31-OKBV153:BD.RBV",
|
||||
"SAROP31-OKBV153:TY1.RBV",
|
||||
"SAROP31-OKBV153:TY2.RBV",
|
||||
"SAROP31-OKBV153:TY3.RBV",
|
||||
"SAROP31-OKBV153:TX1.RBV",
|
||||
"SAROP31-OKBV153:TX2.RBV",
|
||||
"SAROP31-OKBH154:W_X.RBV",
|
||||
"SAROP31-OKBH154:W_Y.RBV",
|
||||
"SAROP31-OKBH154:W_RX.RBV",
|
||||
"SAROP31-OKBH154:W_RY.RBV",
|
||||
"SAROP31-OKBH154:W_RZ.RBV",
|
||||
"SAROP31-OKBH154:BU.RBV",
|
||||
"SAROP31-OKBH154:BD.RBV",
|
||||
"SAROP31-OKBH154:TY1.RBV",
|
||||
"SAROP31-OKBH154:TY2.RBV",
|
||||
"SAROP31-OKBH154:TY3.RBV",
|
||||
"SAROP31-OKBH154:TX2.RBV",
|
||||
####################
|
||||
## FEL Photon Energy
|
||||
"SARUN:FELPHOTENE",
|
||||
###################
|
||||
## FEL Photon Pulse Energy
|
||||
"SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG",
|
||||
]
|
||||
|
||||
pvs_slits = [
|
||||
# TODO: PVS slits can't be read by the DAQ module currently. Therefore disabled it.
|
||||
# "SARFE10-OAPU044:MOTOR_X.VAL",
|
||||
# "SARFE10-OAPU044:MOTOR_X.RBV"
|
||||
]
|
||||
|
||||
pvs_apertures = [
|
||||
"SAROP31-OAPU149:MOTOR_X.VAL", # the x pos of the aperture
|
||||
"SAROP31-OAPU149:MOTOR_X.RBV", # the x pos of the aperture
|
||||
]
|
||||
|
||||
###############################
|
||||
smaract_channels = [
|
||||
"SARES30-XSMA156:X:MOTRBV",
|
||||
"SARES30-XSMA156:Y:MOTRBV",
|
||||
"SARES30-XSMA156:Z:MOTRBV",
|
||||
"SARES30-XSMA156:Ry:MOTRBV",
|
||||
"SARES30-XSMA156:Rx:MOTRBV",
|
||||
"SARES30-XSMA156:Rz:MOTRBV",
|
||||
]
|
||||
|
||||
pvs = pvs_slits + pv_channels + smaract_channels
|
@ -1,15 +0,0 @@
|
||||
# Channels at Cristallina endstation
|
||||
|
||||
|
||||
##########################################################################################################
|
||||
# BS channels
|
||||
|
||||
# TODO: JF settings regarding raw conversion, compression, etc.
|
||||
detectors_min = [
|
||||
# "JF16T03V01",
|
||||
]
|
||||
|
||||
|
||||
channels_min = ["SARFE10-PSSS059:SPECTRUM_Y"]
|
||||
|
||||
pvs_min = ["SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-AVG"] # pvs_slits + pv_channels + smaract_channels
|
169
cristallina.py
169
cristallina.py
@ -50,21 +50,21 @@ setup_logging()
|
||||
# TODO: this is later overwritten, probably not intended that way?
|
||||
# from epics import PV
|
||||
|
||||
from devices.alignment_laser import AlignmentLaser
|
||||
# from devices.alignment_laser import AlignmentLaser
|
||||
|
||||
from slic.gui import GUI
|
||||
from slic.core.adjustable import Adjustable, PVAdjustable, DummyAdjustable
|
||||
from slic.core.acquisition import SFAcquisition, PVAcquisition
|
||||
from slic.core.condition import PVCondition
|
||||
from slic.core.scanner import Scanner
|
||||
from slic.devices.xdiagnostics.intensitymonitor import IntensityMonitorPBPS
|
||||
|
||||
|
||||
from slic.devices.general.motor import Motor
|
||||
from slic.devices.xoptics.pulsepicker import PulsePicker
|
||||
|
||||
from slic.utils import devices, Marker, as_shortcut
|
||||
from slic.utils import Channels, Config, Elog, Screenshot, PV
|
||||
from slic.core.acquisition.fakeacquisition import FakeAcquisition
|
||||
|
||||
from slic.devices.timing.events import CTASequencer
|
||||
|
||||
from channels.bs_channels import (
|
||||
detectors,
|
||||
@ -73,27 +73,34 @@ from channels.bs_channels import (
|
||||
bs_channels,
|
||||
camera_channels,
|
||||
)
|
||||
|
||||
from channels.pv_channels import pvs
|
||||
from spreadsheet import overview
|
||||
|
||||
# from channels_minimal import detectors_min, channels_min, pvs_min
|
||||
from devices.pp_shutter import PP_Shutter
|
||||
|
||||
|
||||
################# DEVICES #################
|
||||
dummy = DummyAdjustable(units="au")
|
||||
|
||||
# Attenuators
|
||||
from slic.devices.xoptics.aramis_attenuator import Attenuator
|
||||
from devices.knife_edge import KnifeEdge
|
||||
from devices.standa import standa
|
||||
from devices.newport import newport
|
||||
#from slic.devices.xoptics.aramis_attenuator import Attenuator
|
||||
|
||||
Newport_large = Motor("SARES30-MOBI1:MOT_5")
|
||||
OWIS = Motor("SARES30-MOBI1:MOT_6") # small OWIS linear stage
|
||||
#from devices.knife_edge import KnifeEdge
|
||||
#from devices.standa import standa
|
||||
#from devices.newport import newport
|
||||
|
||||
|
||||
|
||||
from beamline.components import upstream_attenuator, attenuator, shutter, pulsepicker, front_end_attenuator
|
||||
|
||||
# from beamline.components import kbHor, kbVer
|
||||
|
||||
from systems.components import cta
|
||||
|
||||
from gp_exp.components import Newport_large, OWIS
|
||||
|
||||
attenuator = Attenuator("SAROP31-OATA150", description="Cristallina attenuator OATA150")
|
||||
|
||||
upstream_attenuator = Attenuator("SARFE10-OATT053", description="Aramis attenuator OATT053")
|
||||
|
||||
def test_attenuator():
|
||||
tfundamental = attenuator.get_transmission()
|
||||
@ -105,26 +112,6 @@ def test_attenuator():
|
||||
|
||||
# test_attenuator()
|
||||
|
||||
front_end_attenuator = Attenuator(
|
||||
"SARFE10-OATT053", description="Front end attenuator OATT053"
|
||||
)
|
||||
cta = CTASequencer("SAR-CCTA-ESC")
|
||||
|
||||
pbps113 = IntensityMonitorPBPS(
|
||||
"SAROP31-PBPS113",
|
||||
# vme_crate="SAROP31-CVME-PBPS1", # please check this!
|
||||
# link=9,
|
||||
description="Intensity/position monitor in the optics hutch",
|
||||
)
|
||||
|
||||
pbps149 = IntensityMonitorPBPS(
|
||||
"SAROP31-PBPS149",
|
||||
# vme_crate="SAROP31-CVME-PBPS2", # please check this!
|
||||
# link=9,
|
||||
description="Intensity/position monitor in the experimental hutch",
|
||||
)
|
||||
|
||||
|
||||
# Undulators
|
||||
from beamline import undulator
|
||||
|
||||
@ -134,35 +121,13 @@ logger.info(
|
||||
)
|
||||
|
||||
|
||||
# Shutter
|
||||
shutter = PP_Shutter(
|
||||
"SARES30-LTIM01-EVR0:RearUniv0-Ena-SP", name="Cristallina pulse picker shutter"
|
||||
) # Shutter button when using the pulse picker
|
||||
|
||||
pulsepicker = PulsePicker(
|
||||
"SAROP31-OPPI151",
|
||||
"SARES30-LTIM01-EVR0:Pul3",
|
||||
name="Cristallina X-ray pulse picker OPPI151",
|
||||
)
|
||||
|
||||
# Alignment laser
|
||||
alignment_laser = AlignmentLaser(
|
||||
"SAROP31-OLAS147:MOTOR_1", name="Cristallina alignment laser OLAS147"
|
||||
)
|
||||
|
||||
## Slits
|
||||
from slic.devices.xoptics import slits
|
||||
|
||||
## Smaract & attocube stages
|
||||
from devices.smaract_device_def import smaract_Juraj, smaract_mini_XYZ
|
||||
from devices.attocube_device_def import attocube
|
||||
from devices.jj_device_def import jjslits
|
||||
|
||||
# KBs
|
||||
from slic.devices.xoptics.kb import KBHor, KBVer
|
||||
|
||||
kbHor = KBHor("SAROP31-OKBH154", description="Cristallina horizontal KB mirror")
|
||||
kbVer = KBVer("SAROP31-OKBV153", description="Cristallina vertical KB mirror")
|
||||
from gp_exp.smaract_device_def import smaract_Juraj, smaract_mini_XYZ
|
||||
from gp_exp.attocube_device_def import attocube
|
||||
from gp_exp.jj_device_def import jjslits
|
||||
|
||||
# Bernina monochromator
|
||||
from beamline.bernina_mono import BerninaMono
|
||||
@ -170,48 +135,48 @@ from beamline.bernina_mono import BerninaMono
|
||||
BerninaDCM = BerninaMono("SAROP21-ODCM098")
|
||||
|
||||
# Diffractometer
|
||||
from devices.diffractometer import Diffractometer
|
||||
from crq_exp.diffractometer import Diffractometer
|
||||
|
||||
diffractometer = Diffractometer("diffractometer")
|
||||
|
||||
|
||||
from devices.dilsc import Dilution
|
||||
from crq_exp.dilsc import Dilution
|
||||
dilution = Dilution()
|
||||
|
||||
|
||||
################# Stand setup ##################
|
||||
|
||||
# TODO: requires the stand client, need small howto how to start and configure or let it run all the time
|
||||
from slic.core.acquisition.spreadsheet import Spreadsheet
|
||||
#from slic.core.acquisition.spreadsheet import Spreadsheet
|
||||
|
||||
# setup spreadsheet for transmission to stand
|
||||
spreadsheet = Spreadsheet(
|
||||
{
|
||||
"Transmission" : attenuator.trans1st,
|
||||
"Upstream Transmission": upstream_attenuator.trans1st,
|
||||
"Energy_setpoint" : undulators,
|
||||
"Energy_offset": undulator.energy_offset,
|
||||
"TD": diffractometer.td,
|
||||
"TRX": diffractometer.tr_x,
|
||||
"TRY": diffractometer.tr_y,
|
||||
"TRXBASE": diffractometer.trx_base,
|
||||
"TRYBASE": diffractometer.try_base,
|
||||
"THETA": diffractometer.theta,
|
||||
"TWOTHETA": diffractometer.twotheta,
|
||||
"Magnet_X": dilution.x,
|
||||
"Magnet_Y": dilution.y,
|
||||
"Magnet_Z": dilution.z,
|
||||
"DilSc_T_plato": dilution.T_plato,
|
||||
"DilSc_T_pucksensor": dilution.T_pucksensor,
|
||||
},
|
||||
|
||||
placeholders=("comment", "sample", "run_usable"),
|
||||
host="saresc-vcons-02.psi.ch",
|
||||
port=9090,
|
||||
)
|
||||
#spreadsheet = Spreadsheet(
|
||||
# {
|
||||
# "Transmission" : attenuator.trans1st,
|
||||
# "Upstream Transmission": upstream_attenuator.trans1st,
|
||||
# "Energy_setpoint" : undulators,
|
||||
# "Energy_offset": undulator.energy_offset,
|
||||
# "TD": diffractometer.td,
|
||||
# "TRX": diffractometer.tr_x,
|
||||
# "TRY": diffractometer.tr_y,
|
||||
# "TRXBASE": diffractometer.trx_base,
|
||||
# "TRYBASE": diffractometer.try_base,
|
||||
# "THETA": diffractometer.theta,
|
||||
# "TWOTHETA": diffractometer.twotheta,
|
||||
# "Magnet_X": dilution.x,
|
||||
# "Magnet_Y": dilution.y,
|
||||
# "Magnet_Z": dilution.z,
|
||||
# "DilSc_T_plato": dilution.T_plato,
|
||||
# "DilSc_T_pucksensor": dilution.T_pucksensor,
|
||||
# },
|
||||
#
|
||||
# placeholders=("comment", "sample", "run_usable"),
|
||||
# host="saresc-vcons-02.psi.ch",
|
||||
# port=9090,
|
||||
#)
|
||||
|
||||
try:
|
||||
from stand_client import Client
|
||||
from stand.stand_client import Client
|
||||
|
||||
stand_host = "saresc-vcons-02.psi.ch"
|
||||
stand_client = Client(host=stand_host, port=9090)
|
||||
@ -227,36 +192,8 @@ except Exception as error:
|
||||
################# DAQ Setup #################
|
||||
instrument = "cristallina"
|
||||
|
||||
# pgroup = "p19739" # commissioning March 2022 -- July 2022
|
||||
# pgroup = "p20443" # commissioning Wavefront Sensor August 2022 (active)
|
||||
from pgroups import pgroup, pgroup_scratch
|
||||
|
||||
# pgroup = "p20558" # SwissMX commissioning 3
|
||||
# pgroup = "p20557" # CrQ PMS commisioning 1
|
||||
# pgroup = "p20509" # CrQ commisioning DilSc1
|
||||
# pgroup = "p20519" # beamline commissioning 2
|
||||
# pgroup = "p20841" # CrQ PMS commisioning 2 (Jan 2023)
|
||||
# pgroup = "p20993" # CrQ commisioning DilSc2 (March 2023)
|
||||
# pgroup = "p21147" # SAXS
|
||||
# pgroup = "p21238" # Cristallina photon diagnostics p-group with Chris
|
||||
# pgroup = "p21224" # SwissMX commisioning 7
|
||||
|
||||
# pgroup = "p19150" # Scratch
|
||||
# pgroup = "p19152" # Scratch
|
||||
|
||||
# pgroup = "p20840" # Cr beamline commisioning (Jan-Feb 2023)
|
||||
# pgroup = "p21261" # CrQ PMS-3 July 2023
|
||||
|
||||
# pgroup = "p21528" # Cr-MX Colletier 2023-09-05
|
||||
# pgroup = "p21516" # Beamline commissioning September 26-27, November 7 2023
|
||||
# pgroup = "p21563" # Dil-Sc / diffractometer / tilted bunch / LiErF4 (/ TmVO4)
|
||||
|
||||
# pgroup = "p21569" # Dil-Sc / diffractometer / tilted bunch / LiErF4 (/ TmVO4), November 17-
|
||||
# pgroup = "p21592" # HVE commissioning
|
||||
# pgroup = "p21640" # Dil-Sc / diffractometer / LiErF4 : 4 March 2024
|
||||
|
||||
# pgroup = "p21920" # Beamline commissioning 2024
|
||||
|
||||
pgroup = "p21741" # CrQ - DilSc - SAXS LiHoF4
|
||||
|
||||
# setup pgroup specific logger
|
||||
setup_logging_pgroup(pgroup)
|
||||
@ -268,7 +205,7 @@ daq = SFAcquisition(
|
||||
default_pvs=pvs,
|
||||
default_detectors=detectors,
|
||||
rate_multiplicator=1,
|
||||
spreadsheet=spreadsheet,
|
||||
spreadsheet=None,
|
||||
)
|
||||
|
||||
|
||||
|
1013
exp_temp/channels.py
1013
exp_temp/channels.py
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
from devices.attocube import AttocubeStage
|
||||
from .attocube import AttocubeStage
|
||||
|
||||
attocube = AttocubeStage(
|
||||
"SARES30-ATTOCUBE",
|
6
gp_exp/components.py
Normal file
6
gp_exp/components.py
Normal file
@ -0,0 +1,6 @@
|
||||
from slic.devices.general.motor import Motor
|
||||
|
||||
|
||||
OWIS = Motor("SARES30-MOBI1:MOT_6") # small OWIS linear stage
|
||||
|
||||
Newport_large = Motor("SARES30-MOBI1:MOT_5")
|
@ -1,5 +1,5 @@
|
||||
# from slic.devices.general.smaract import SmarActStage
|
||||
from devices.smaract import SmarActStage
|
||||
from gp_exp.smaract import SmarActStage
|
||||
from slic.core.device.simpledevice import SimpleDevice
|
||||
from slic.devices.general.motor import Motor
|
||||
|
@ -1,417 +1,25 @@
|
||||
2024-05-02 at 15:38:40 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-02 at 15:38:43 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-02 at 15:38:43 | WARNING | Cannot write log file to pgroup p21920.
|
||||
2024-05-02 at 15:38:44 | INFO | Running at cristallina with pgroup p21920.
|
||||
2024-05-02 at 15:38:44 | INFO | Loading finished.
|
||||
2024-05-02 at 16:34:35 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-02 at 16:34:35 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-02 at 16:34:35 | WARNING | Cannot write log file to pgroup p21920.
|
||||
2024-05-02 at 16:34:35 | INFO | Running at cristallina with pgroup p21920.
|
||||
2024-05-02 at 16:34:35 | INFO | Loading finished.
|
||||
2024-05-02 at 17:40:03 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-02 at 17:40:03 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-02 at 17:40:03 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-02 at 17:40:03 | INFO | Loading finished.
|
||||
2024-05-02 at 18:24:36 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-02 at 18:24:37 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-02 at 18:24:37 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-02 at 18:24:37 | INFO | Loading finished.
|
||||
2024-05-03 at 19:32:16 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-03 at 19:32:21 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-03 at 19:32:21 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-03 at 19:32:21 | INFO | Loading finished.
|
||||
2024-05-03 at 19:35:15 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-03 at 19:35:15 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-03 at 19:35:15 | WARNING | Cannot write log file to pgroup p19150.
|
||||
2024-05-03 at 19:35:15 | INFO | Running at cristallina with pgroup p19150.
|
||||
2024-05-03 at 19:35:15 | INFO | Loading finished.
|
||||
2024-05-03 at 19:39:23 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-03 at 19:39:23 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-03 at 19:39:23 | WARNING | Cannot write log file to pgroup p19150.
|
||||
2024-05-03 at 19:39:23 | INFO | Running at cristallina with pgroup p19150.
|
||||
2024-05-03 at 19:39:23 | INFO | Loading finished.
|
||||
2024-05-06 at 09:52:16 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 09:52:16 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-06 at 09:52:16 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 09:52:16 | INFO | Loading finished.
|
||||
2024-05-06 at 10:37:46 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 10:37:46 | WARNING | Cannot connect to stand server on saresc-vcons-02.psi.ch. Disabling spreadsheet.
|
||||
2024-05-06 at 10:37:46 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 10:37:46 | INFO | Loading finished.
|
||||
2024-05-06 at 15:00:22 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 15:00:22 | INFO | Connected to stand server
|
||||
2024-05-06 at 15:00:22 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 15:00:22 | INFO | Loading finished.
|
||||
2024-05-06 at 16:03:54 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 16:03:54 | INFO | Connected to stand server
|
||||
2024-05-06 at 16:03:54 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 16:03:54 | INFO | Loading finished.
|
||||
2024-05-06 at 17:04:35 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 17:04:35 | INFO | Connected to stand server
|
||||
2024-05-06 at 17:04:35 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 17:04:35 | INFO | Loading finished.
|
||||
2024-05-06 at 17:27:39 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 17:27:39 | INFO | Connected to stand server
|
||||
2024-05-06 at 17:27:39 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 17:27:39 | INFO | Loading finished.
|
||||
2024-05-06 at 18:05:17 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 18:05:17 | INFO | Connected to stand server
|
||||
2024-05-06 at 18:05:17 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 18:05:17 | INFO | Loading finished.
|
||||
2024-05-06 at 18:26:25 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 18:26:25 | INFO | Connected to stand server
|
||||
2024-05-06 at 18:26:25 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 18:26:25 | INFO | Loading finished.
|
||||
2024-05-06 at 19:47:08 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 19:47:10 | INFO | Connected to stand server
|
||||
2024-05-06 at 19:47:10 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 19:47:10 | INFO | Loading finished.
|
||||
2024-05-06 at 19:48:00 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 19:48:00 | INFO | Connected to stand server
|
||||
2024-05-06 at 19:48:00 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 19:48:00 | INFO | Loading finished.
|
||||
2024-05-06 at 19:55:19 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 19:55:19 | INFO | Connected to stand server
|
||||
2024-05-06 at 19:55:19 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 19:55:19 | INFO | Loading finished.
|
||||
2024-05-06 at 19:57:05 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 19:57:05 | INFO | Connected to stand server
|
||||
2024-05-06 at 19:57:05 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 19:57:05 | INFO | Loading finished.
|
||||
2024-05-06 at 20:07:16 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:07:17 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:07:17 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:07:17 | INFO | Loading finished.
|
||||
2024-05-06 at 20:18:32 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:18:32 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:18:32 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:18:32 | INFO | Loading finished.
|
||||
2024-05-06 at 20:28:55 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:28:55 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:28:55 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:28:55 | INFO | Loading finished.
|
||||
2024-05-06 at 20:35:29 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:35:29 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:35:29 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:35:29 | INFO | Loading finished.
|
||||
2024-05-06 at 20:37:14 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:37:14 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:37:14 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:37:14 | INFO | Loading finished.
|
||||
2024-05-06 at 20:38:00 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:38:00 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:38:00 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:38:00 | INFO | Loading finished.
|
||||
2024-05-06 at 20:39:29 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:39:29 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:39:29 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:39:29 | INFO | Loading finished.
|
||||
2024-05-06 at 20:39:37 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:39:38 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:39:38 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:39:38 | INFO | Loading finished.
|
||||
2024-05-06 at 20:39:56 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:39:56 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:39:56 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:39:56 | INFO | Loading finished.
|
||||
2024-05-06 at 20:41:21 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 20:41:21 | INFO | Connected to stand server
|
||||
2024-05-06 at 20:41:21 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 20:41:21 | INFO | Loading finished.
|
||||
2024-05-06 at 21:37:38 | INFO | Using undulator (Aramis) offset to PSSS energy of -59 eV.
|
||||
2024-05-06 at 21:37:38 | INFO | Connected to stand server
|
||||
2024-05-06 at 21:37:38 | INFO | Running at cristallina with pgroup p21741.
|
||||
2024-05-06 at 21:37:38 | INFO | Loading finished.
|
||||
|