Skip to content

Conversation

@kekeke21
Copy link
Contributor

This PR proposes adding fields to the Acquisition and its header schema to accommodate spectroscopy data in mrd format. The three fields below are added to the acquisition YML file.

Edits to AcquisitionStreamItem

  • Added AcquisitionPhase field to Acquisition StreamItem as an array of floats to represent phase offset from center frequency during the acquisition

Edits to AcquisitionHeader

  • Added acquisitionCenterFrequency field to AcquisitionHeader as an optional uint64 to record center frequency in Hz

The additional fields are optional, maintaining compatibility with the current version of the mrd format. The PR includes regenerated code and passed the tests on justfile on python and cpp.

@kekeke21 kekeke21 mentioned this pull request Oct 9, 2025
@kekeke21 kekeke21 force-pushed the feature/edit_acquisition branch from cb91355 to 9b87711 Compare December 8, 2025 20:54
- Added AcquisitionPhase field to Acquisition StreamItem as an array of float to represent phase offset from center frequency during acquisition
- Added acquisitionCenterFrequency field to AcquisitionHeader as optional uint64 to record center frequency in Hz

make phase and center frequency for each acquisition field optional

add generated code

- Make acquisition label as optional
- Acquisition phase is already an optional field as it is defined in record field

just test passed on regenerated code as previous commit failed at unexpected EOF error for reading phantom.bin on python yardl
@kekeke21 kekeke21 force-pushed the feature/edit_acquisition branch 2 times, most recently from 9322bc2 to 030ff6a Compare December 12, 2025 20:22
@kekeke21 kekeke21 marked this pull request as draft December 12, 2025 20:39
@kekeke21 kekeke21 marked this pull request as ready for review December 15, 2025 16:23
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.

3 participants