Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for files produced by AvaSoft 8.4 #52

Open
Bisaloo opened this issue Apr 22, 2023 · 3 comments
Open

Support for files produced by AvaSoft 8.4 #52

Bisaloo opened this issue Apr 22, 2023 · 3 comments

Comments

@Bisaloo
Copy link
Member

Bisaloo commented Apr 22, 2023

This issue aims at summarizing the history and current situation about support for files produced by AvaSoft 8.4

@Bisaloo
Copy link
Member Author

Bisaloo commented Feb 5, 2025

  • Versions of lightr up to 1.7.0 supported binary files produced by all versions of AvaSoft 8 (IRR8, RFL8, RAW8), without restrictions
  • In May 2022, I got my hands (how?) on IRR8 files produced by AvaSoft 8.4 that were parsed by lightr without any warnings, but produced unexpected results. As a reaction, support for AvaSoft 8 was restricted to versions where I could confirm the match between lightr-parsed and officially-parsed files: cd180d3 (i.e., only AvaSoft 8.2 at that time).
  • In February 2023, I got an email from another user that requested restoring parsing. After some back and forth, they sent me the officially-parsed Raw8 files for comparison in June 2023.
    Interestingly, these files were also produced by AvaSoft 8.4.
    There were producing "correct" outputs, with the caveat that the official parser placed the "scope" column as "processed", which makes sense because these were scope measurements, as confirmed by the fact that the internal measmode var is set to 0.

@Bisaloo
Copy link
Member Author

Bisaloo commented Feb 5, 2025

While digging more in the IRR8 AvaSoft 8.4 files that were producing unexpected output:

  • the scope, dark and white values match
  • the "processed" value doesn't match. I can re-create a nearly identical spectral shape (with a seemingly random scaling factor) by doing (scope-dark)/white.

I'm still not clear:

  1. Why this formula is used
  2. How to determine the scaling factor

@Bisaloo
Copy link
Member Author

Bisaloo commented Feb 5, 2025

Here is the header of the officially-parsed .Raw8 Avasoft 8.4 file:

Wave   ;Sample   ;Dark     ;Reference;Scope
[nm]   ;[counts] ;[counts] ;[counts]

300.014;  268.225;  248.416; 3717.762

They're listing 5 columns in the table header but then only return 4 columns 😭

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

No branches or pull requests

1 participant