Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Update example notebooks (#414)
Browse files Browse the repository at this point in the history
* Update get started
* WIMP instruction
  • Loading branch information
shenyangshi authored Aug 3, 2023
1 parent e13a6ab commit ffdd0b0
Show file tree
Hide file tree
Showing 7 changed files with 1,808 additions and 452 deletions.
4 changes: 4 additions & 0 deletions notebooks/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.ipynb_checkpoints
resource_cache
strax_data
*.csv
4 changes: 2 additions & 2 deletions notebooks/Advanced_tricks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -398,7 +398,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
"version": "3.9.17"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
Expand Down
1,095 changes: 706 additions & 389 deletions notebooks/Getting_started_wfsim.ipynb

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions notebooks/Simulate_WIMP_and_CEvNS.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions notebooks/StorePulseInstructionsAsType.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
" is_ready=True\n",
" max_chunks=1\n",
" _source_finished=False\n",
" \n",
"\n",
" def setup(self,):\n",
" if self.config['instructions_per_chunk']:\n",
" self.max_chunks= np.ceil(len(self.config['instructions'])/self.config['instructions_per_chunk'])\n",
Expand Down Expand Up @@ -392,7 +392,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
"version": "3.9.17"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit ffdd0b0

Please sign in to comment.