Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
257 changes: 185 additions & 72 deletions Example_3_Reprocess.ipynb

Large diffs are not rendered by default.

260 changes: 223 additions & 37 deletions Example_4_Exporters.ipynb

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions Example_5_Record_Video.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@
"video_filename = \"MyHyperspectralVideo\"\n",
"camera_serial_number_str = \"Your Cameras Serial Number\"\n",
"\n",
"# If using demo data instead of a physical camera, change this to your download location:\n",
"# Set to True when working with a physical camera, False to simulate one from the demo data\n",
"has_camera = False\n",
"\n",
"# Demo data used to simulate a camera, change this to your download location\n",
"demo_session_file = \"./SDK_Training_Example_Data/WinterUlm_X20P.cu3s\"\n",
"import os\n",
"assert os.path.exists(demo_session_file), F\"Demo session file not found: {demo_session_file}\"\n",
Expand Down Expand Up @@ -143,12 +144,12 @@
}
],
"source": [
"# If working with a physical camera, use these two lines\n",
"# With a physical camera: load its calibration file\n",
"if has_camera:\n",
" calib = cuvis.SessionFile(camera_calibration_file_path)\n",
" acq_cont = cuvis.AcquisitionContext(calib)\n",
"\n",
"# If you don't have a physical camera and want to simulate one, use these two lines. Uncomment the above\n",
"# Without a physical camera: simulate one from the demo data\n",
"else:\n",
" calib = cuvis.SessionFile(demo_session_file)\n",
" acq_cont = cuvis.AcquisitionContext(calib, simulate=True)\n",
Expand Down
628 changes: 628 additions & 0 deletions Example_6_Reference_Spectra.ipynb

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,7 @@ Load & Reprocess a Measurement
Convert/Export to different File Formats

### 05. Example_5_Record_Video
Record a video using the Worker
Record a video using the Worker

### 06. Example_6_Reference_Spectra
Working with target & white reference spectra