ChemSharp.Spectroscopy 1.0.13

.NET 5.0 .NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package ChemSharp.Spectroscopy --version 1.0.13
NuGet\Install-Package ChemSharp.Spectroscopy -Version 1.0.13
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="ChemSharp.Spectroscopy" Version="1.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ChemSharp.Spectroscopy --version 1.0.13
#r "nuget: ChemSharp.Spectroscopy, 1.0.13"
#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.
// Install ChemSharp.Spectroscopy as a Cake Addin
#addin nuget:?package=ChemSharp.Spectroscopy&version=1.0.13

// Install ChemSharp.Spectroscopy as a Cake Tool
#tool nuget:?package=ChemSharp.Spectroscopy&version=1.0.13

<p align="center"> <img src="" height="125px" /></p> <h1 align="center" >ChemSharp.Spectroscopy</h1>

NuGet Badge


Create Spectra

Spectra can be created in a lot of ways. The easiest way is to use SpectrumFactory.Create, which accepts a string path. Depending on the File extension the correct DataProvider is used to load the file.

//Creates an UV/Vis Spectrum
const string path = "files/uvvis.dsw";
var uvvis = SpectrumFactory.Create(path);

It is also possible to create a Spectrum by using a specific DataProvider (e.g. if automatic detection fails or you only want to support a selected number of file types)

//You can also create spectra by choosing the provider 
//explicitly. e.g. csv files
//Reads in an CSV Spectrum (first data only)
const string path = "files/uvvis.csv";
var prov = new GenericCSVProvider(path);
var uvvis = new Spectrum(prov);

There is also the MultiCSVProvider which can provide data from multiple XY pairs in a csv file

//To read in all CSV Data stored as (X,Y) pairs use the MultiCSVProvider
//Each Spectrum will be stored as DataPoint[] in MultiXYData
const string file = "files/multicsv.csv";
var provider = new MultiCSVProvider(file);

Supported Filetypes

  • Import (Varian/Agilient DSW, Bruker EMX SPC/PAR, Bruker TopSpin (fid, (1r/1i processed spectra), JCAMP-DX (acqus, procs, ...)), CSV)
  • Export (CSV)
Used Libraries:
  • .NET Standard 2.0, .NET Standard 2.1, .NET 5, .NET 6
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 was computed.  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. 
.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. 
Compatible target framework(s)
Additional computed target framework(s)
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
2.1.0 91 7/31/2023
2.0.1 84 6/20/2023
2.0.0 184 3/1/2023
2.0.0-beta.1 80 12/1/2022
2.0.0-alpha.3 82 9/13/2022
2.0.0-alpha.2 76 9/5/2022
2.0.0-alpha.1 80 9/2/2022
1.1.0-beta.2 119 7/26/2022
1.1.0-beta.1 134 5/16/2022
1.0.15 444 1/27/2022
1.0.14 409 1/24/2022
1.0.13 265 12/5/2021
1.0.12 252 12/5/2021
1.0.11 2,906 11/25/2021
1.0.10 309 8/6/2021
1.0.9 308 7/2/2021
1.0.8 314 6/18/2021
1.0.7 355 6/16/2021
1.0.6 294 5/20/2021
1.0.5 327 5/20/2021
1.0.4 436 4/4/2021
1.0.3 323 3/30/2021
1.0.2 295 3/29/2021
1.0.1 312 3/9/2021
1.0.0 306 3/2/2021
1.0.0-beta5 157 2/20/2021
1.0.0-beta4 181 2/16/2021
1.0.0-beta3 216 2/11/2021
1.0.0-beta2 188 2/6/2021
1.0.0-beta1 189 2/4/2021
1.0.0-alpha20210202 190 2/2/2021
1.0.0-alpha20210123 217 1/23/2021
1.0.0-alpha20210105 231 1/6/2021
1.0.0-alpha1 287 12/28/2020