Skip to content

Commit

Permalink
Merge pull request #284 from OpenCOMPES/sxp_loader_config
Browse files Browse the repository at this point in the history
update notebook
  • Loading branch information
rettigl authored Nov 19, 2023
2 parents 7f35392 + 2c6e203 commit 640ea91
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions tutorial/5_sxp_workflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@
"import matplotlib.pyplot as plt"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"notebookRunGroups": {
"groupValue": "1"
}
},
"outputs": [],
"source": [
"%matplotlib widget"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -63,7 +50,7 @@
"outputs": [],
"source": [
"config={\"core\": {\"paths\": {\n",
" \"data_raw_dir\": \"/GPFS/exfel/exp/SXP/202302/p005639/raw/\",\n",
" \"data_raw_dir\": \"/gpfs/exfel/exp/SXP/202302/p005639/raw/\",\n",
" \"data_parquet_dir\": \"../../sxp_parquet/\"\n",
"}}}\n",
"sp = SedProcessor(runs=[\"0016\"], config=config, user_config=config_file, system_config={}, collect_metadata=False)"
Expand Down Expand Up @@ -135,7 +122,7 @@
"source": [
"axes = ['delayStage','dldTimeSteps']\n",
"bins = [100, 250]\n",
"ranges = [[100,300], [1000,120000]]\n",
"ranges = [[-500,500], [1000,120000]]\n",
"res = sp.compute(bins=bins, axes=axes, ranges=ranges)"
]
},
Expand Down

0 comments on commit 640ea91

Please sign in to comment.