Skip to content

Small Improvements to CSV converter - #428

Open
kevScheuer wants to merge 1 commit into
masterfrom
csv_converter
Open

kevScheuer wants to merge 1 commit into
masterfrom
csv_converter

Conversation

@kevScheuer

Copy link
Copy Markdown
Contributor

Bugs addressed:

  • The normalization integral csv sometimes printed x+-j0.0 strings, which broke abilities to recognize it as a complex value. Now only prints x+jy or x-jy values
  • Only scaled production parameters were output by the FitConverter. This could be a potential source of confusion, and was unnecessary, because the scale parameters are also saved separately. The non-scaled production parameters are now returned.
  • Normalization integrals are now the acceptance-corrected ampInt ones when acceptance-corrected results are requested.
  • Warning suppression now also applies to the amplitude parser.

QOL:

  • Many of the methods in FitConverter are better suited for the AmplitudeParser class, and so were moved there
  • Many parser functions were promoted to public and/or static so that other classes can make easy use of them.

Bugs addressed:
- The normalization integral csv sometimes printed
  "a+-j0.0" strings, which broke abilities to
  recognize it as a complex value. Now only prints
  "a+jb" or "a-jb" values
- Only scaled production parameters were output by
  the FitConverter. This could be a potential
  source of confusion, and was unnecessary,
  because the scale parameters are also saved
  separately. The non-scaled production parameters
  are now returned.
- Normalization integrals are now the acceptance-
  corrected "ampInt" ones when
  acceptance-corrected results are requested.
- Warning suppression now also applies to the
  amplitude parser.

QOL:
- Many of the methods in FitConverter are better
  suited for the AmplitudeParser class, and so
  were moved there
- Many parser functions were promoted to public
  and/or static so that other classes can make
  easy use of them.
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.

1 participant