TrajectoryLogReader 1.2.0
See the version list below for details.
dotnet add package TrajectoryLogReader --version 1.2.0
NuGet\Install-Package TrajectoryLogReader -Version 1.2.0
<PackageReference Include="TrajectoryLogReader" Version="1.2.0" />
<PackageVersion Include="TrajectoryLogReader" Version="1.2.0" />
<PackageReference Include="TrajectoryLogReader" />
paket add TrajectoryLogReader --version 1.2.0
#r "nuget: TrajectoryLogReader, 1.2.0"
#:package TrajectoryLogReader@1.2.0
#addin nuget:?package=TrajectoryLogReader&version=1.2.0
#tool nuget:?package=TrajectoryLogReader&version=1.2.0
Trajectory Log Reader
Reads Varian TrueBeam trajectory log files (*.bin). This has only been tested with log-files of version 5.0.
Usage
Install from NuGet
dotnet add package TrajectoryLogReader
Load the log file:
TrajectoryLog log = LogReader.ReadBinary(filePath);
There are some useful functions for interpolating data at various times. For example:
int timeInMs = 20;
var gantryExpected = log.InterpolateAxisData(Axis.Gantry, timeInMs, RecordType.ExpectedPosition);
var gantryActual = log.InterpolateAxisData(Axis.Gantry, timeInMs, RecordType.ActualPosition);
Data is linearly interpolated between sampling intervals.
MLC leaf positions can be interpolated at time t:
int bankA = 0;
int bankB = 1;
int leafIndex = 0;
int timeInMs = 25;
double mlc = log.InterpolateMLCPosition(timeInMs, bankA, leafIndex, RecordType.Actual);
Or, a 2D array of MLC positions interpolated at time t can be extracted:
int t = 25; // time in ms
float[,] mlc = log.InterpolateMLCPositions(t, RecordType.Expected);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TrajectoryLogReader:
| Package | Downloads |
|---|---|
|
TrajectoryLogReader.DICOM
Provides methods for calculating fluence using DICOM plan data |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 0 | 1/28/2026 |
| 2.0.0-beta.3 | 21 | 1/27/2026 |
| 2.0.0-beta.2 | 29 | 1/27/2026 |
| 2.0.0-beta.1 | 34 | 1/26/2026 |
| 2.0.0-alpha.9 | 44 | 1/19/2026 |
| 2.0.0-alpha.8 | 41 | 1/19/2026 |
| 2.0.0-alpha.7 | 43 | 1/18/2026 |
| 2.0.0-alpha.6 | 43 | 1/16/2026 |
| 2.0.0-alpha.5 | 44 | 1/15/2026 |
| 2.0.0-alpha.4 | 39 | 1/15/2026 |
| 2.0.0-alpha.3 | 44 | 1/14/2026 |
| 2.0.0-alpha.2 | 42 | 1/11/2026 |
| 2.0.0-alpha.1 | 41 | 1/10/2026 |
| 1.2.0 | 167 | 12/23/2025 |
| 1.1.1 | 422 | 12/10/2025 |
| 1.1.0 | 418 | 12/10/2025 |
| 1.0.0 | 155 | 12/17/2024 |