Skip to content

add reference spectra example - #20

Draft
manke-cubert wants to merge 5 commits into
mainfrom
feature/add_reference_spectra_example
Draft

manke-cubert wants to merge 5 commits into
mainfrom
feature/add_reference_spectra_example

Conversation

@manke-cubert

Copy link
Copy Markdown
Contributor

No description provided.

@rajanish4 rajanish4 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with the fixes build too. Builds without warnings, Example 6 runs, and the SDK prints the warnings that the comments describe (zero-count channels, white measurement cleared). The results are identical to the C and Python versions.

Same points as in the C PR:

  1. Should be 3.6.1 instead of 3.6, in the text and in find_package(CuvisCpp 3.6.1 REQUIRED), because 3.6.0 doesn't interpolate the target spectrum linearly.
  2. The data path in the run script (../sample_data/) is different from the C one and from the older scripts.
  3. Renumbering: same question as in the C PR.
  4. Reopening the exported files: same note as in the C PR. The spectrum is loaded as explicit reference and is also implicit on the measurement, so you need both clear_reference and the measurement's clear_implicit_reference to get rid of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants