Repository navigation
Module C: exercise notebooks with holes and data files - #15
Merged
Merged
Conversation
The three notebooks of the module C with holes `...` on the PyMoDAQ steps (data objects, axes and units, slicing, saving and loading, fits, errors). The holes get larger along the day: arguments in the notebook 01, whole lines in the notebook 03, and an open part without holes at the end. The cells with a hole are tagged `exercise`; a test checks the tags, that every cell is valid Python and that the given cells run. The data files are the same as in correction-module-c. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RKuN833EwRkwYgUKwN8sKq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RKuN833EwRkwYgUKwN8sKq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
notebooks/01_data_objects.ipynb,02_saving_loading.ipynb,03_analysis.ipynb: the notebooks of the module C with holes...(same names as the corrected ones incorrection-module-c, which the handout cites). Imports, paths, plots and checks are given; the holes are on the PyMoDAQ steps:Axis/DataRaw, navigation and signal axes, units (Q_,units_as), slicing (vsig/isig/vnav,nav_indexes),H5SaverLowLevel/DataToExportSaver/DataLoader,curve_fitandDataWithAxes.fit,errors.DataCalculated, slicing a spread recording, own scan) for the fastest trainees.scan_photodiode.h5has one missing point (NaN at 491 nm in the 7th repetition of Scan001), so the trainees must mask it beforecurve_fit.data/: the three measurement files ofcorrection-module-c(identical), needed by the trainees on main.matplotlibadded to the dependencies.tests/test_notebooks_exercises_module_c.py: the cells with a hole are taggedexercise, every cell is valid Python, the given cells run, the data files exist. It also passes on the corrected notebooks (noexercisetag: all cells run).Checks
pytest: 33 passed, 1 skipped (PyMoDAQ 5.3.11, PyQt5, offscreen).When
mainis merged again intocorrection-module-c, the three notebooks conflict (added on both sides): keep the corrected version.Generated by Claude Code