Skip to content

Commit

Permalink
integrate into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Nov 21, 2024
1 parent dcf4e96 commit b56605e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
22 changes: 22 additions & 0 deletions docs/scripts/build_flash_parquets.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,25 @@
system_config=config_file,
collect_metadata=False,
)

dataset.get("W110", root_dir="./tutorial")
data_path = dataset.dir


config_override = {
"core": {
"paths": {
"data_raw_dir": data_path,
"data_parquet_dir": data_path + "/processed/",
},
},
}

runs = ["44498", "44455"]
for run in runs:
sp = SedProcessor(
runs=run,
config=config_override,
system_config=config_file,
collect_metadata=False,
)
1 change: 1 addition & 0 deletions docs/scripts/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
dataset.get("Gd_W110", remove_zip=True, root_dir=root_dir)
dataset.get("TaS2", remove_zip=True, root_dir=root_dir)
dataset.get("Au_Mica", remove_zip=True, root_dir=root_dir)
dataset.get("W110", remove_zip=True, root_dir=root_dir)
2 changes: 2 additions & 0 deletions docs/user_guide/advanced_topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
../tutorial/6_binning_with_time-stamped_data
../tutorial/7_correcting_orthorhombic_symmetry
../tutorial/8_jittering_tutorial
../tutorial/10_hextof_workflow_trXPS_bam_correction
../tutorial/11_hextof_workflow_trXPS_energy_calibration_using_SB
```
3 changes: 2 additions & 1 deletion docs/workflows/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ myst:

```{toctree}
../tutorial/4_hextof_workflow
../tutorial/5_sxp_workflow.ipynb
../tutorial/5_sxp_workflow
../tutorial/9_hextof_workflow_trXPD
```
2 changes: 1 addition & 1 deletion tutorial/10_hextof_workflow_trXPS_bam_correction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": "9192f0aa",
"metadata": {},
"source": [
"# Tutorial for trXPS for the HEXTOF instrument at FLASH: t$_0$, cross-correlation and BAM correction"
"# Tutorial for trXPS for the HEXTOF instrument at FLASH: t0, cross-correlation and BAM correction"
]
},
{
Expand Down

0 comments on commit b56605e

Please sign in to comment.