Gravicode.SiWare.Ai 0.1.0

Prefix Reserved
dotnet add package Gravicode.SiWare.Ai --version 0.1.0
                    
NuGet\Install-Package Gravicode.SiWare.Ai -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gravicode.SiWare.Ai" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gravicode.SiWare.Ai" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Gravicode.SiWare.Ai" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Gravicode.SiWare.Ai --version 0.1.0
                    
#r "nuget: Gravicode.SiWare.Ai, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Gravicode.SiWare.Ai@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Gravicode.SiWare.Ai&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Gravicode.SiWare.Ai&version=0.1.0
                    
Install as a Cake Tool

SiWare.NET (Gravicode.SiWare.*)

.NET 10 SDK for Si-Ware spectral sensors. Created by Gravicode Studios, led by Kang Fadhil. SDK .NET 10 untuk sensor spektral Si-Ware. Dibuat oleh Gravicode Studios dipimpin oleh Kang Fadhil.

0.1.0. Discovery and acquisition are validated on a Si-NIR Matrix DVK over USB (Windows 10). Simulated data is always labelled IsSimulated = true. 0.1.0. Penemuan perangkat dan akuisisi sudah divalidasi pada Si-NIR Matrix DVK lewat USB (Windows 10). Data simulasi selalu bertanda IsSimulated = true.

Quick start / Mulai cepat

using SiWare.Sdk;

await using ISpectrometer device = new SimulatedSpectrometer();
await device.ConnectAsync();

var scan = new ScanOptions(Points: 257, IntegrationMilliseconds: 100, Averages: 3);
var dark = await device.AcquireAsync(MeasurementKind.Dark, scan);
var reference = await device.AcquireAsync(MeasurementKind.Reference, scan);
var sample = await device.AcquireAsync(MeasurementKind.Sample, scan);

var absorbance = SpectralProcessing.Absorbance(sample, dark, reference);
var normalized = NativeDsp.IsAvailable
    ? NativeDsp.StandardNormalVariate(absorbance)
    : SpectralProcessing.StandardNormalVariate(absorbance);

File.WriteAllText("absorbance.csv", SpectrumFile.ToCsv(absorbance));

Packages / Paket

Package Contents
Gravicode.SiWare.Sdk Core SDK, simulator, vendor bridge, processing, optional Rust kernels. No third-party dependencies.
Gravicode.SiWare.Analysis Savitzky-Golay, MSC, PCA, PLS calibration with cross-validation (GravicodeScience).
Gravicode.SiWare.Visualization PNG/SVG/PDF charts of spectra, PCA, and calibration (Visual.Net / Matplotlib.Net).
Gravicode.SiWare.Ai Advisory LLM interpretation: Hugging Face router, OpenAI-compatible APIs, or local HF.Net models.
var calibration = CalibrationResult.Fit(new SpectralDataset(spectra, moisture, "moisture"));
SpectrumCharts.PredictedVsMeasured(calibration).Save("pls.png");

Core contents / Isi paket inti

  • SiWare.Sdk.dll: Spectrum, ISpectrometer, SimulatedSpectrometer, VendorSpectrometer, SpectralProcessing, NativeDsp, SpectrumFile.
  • runtimes/win-x64/native/siware_dsp.dll: optional Rust DSP kernels (C ABI v1). / Kernel DSP Rust opsional.
  • SiWare/vendor_bridge.py: copied to your output directory; required by VendorSpectrometer together with CPython 3.10 x64 and the vendor-installed pyDriver.pyd. / Disalin ke folder output; dibutuhkan VendorSpectrometer.

The Si-Ware vendor driver is proprietary and is not included. This package is not affiliated with Si-Ware Systems. Driver vendor Si-Ware bersifat proprietary dan tidak disertakan. Paket ini tidak berafiliasi dengan Si-Ware Systems.

Full documentation / Dokumentasi lengkap: https://github.com/DotNetVibeCoderz/Vibe_SDK/tree/main/SiWare.Net (docs/en, docs/id).

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 61 10/26/2026

0.1.0: first release. Discovery and acquisition validated on a Si-NIR Matrix DVK over USB (Windows 10). Continuous run mode, chemometrics, charts, and advisory AI interpretation. See https://github.com/DotNetVibeCoderz/Vibe_SDK/tree/main/SiWare.Net