Decode chirplet paths through trellis

This commit is contained in:
Meta Vens 2026-05-22 15:00:12 +01:00
commit c298e0922d
10 changed files with 299 additions and 28 deletions

View file

@ -74,6 +74,9 @@ public sealed class MimirChirpletStreamDecoder
var clock = decode.ClockFit == null
? null
: decode.ClockFit with { SourceOffsetSamples = decode.ClockFit.SourceOffsetSamples + originSample };
return new MimirChirpletStreamDecode(symbols, anchors, clock);
var frames = decode.Frames
.Select(frame => frame with { SampleOffset = frame.SampleOffset + originSample })
.ToArray();
return new MimirChirpletStreamDecode(frames, symbols, anchors, clock);
}
}