ChemSharp.Spectroscopy
1.0.15
See the version list below for details.
dotnet add package ChemSharp.Spectroscopy --version 1.0.15
NuGet\Install-Package ChemSharp.Spectroscopy -Version 1.0.15
<PackageReference Include="ChemSharp.Spectroscopy" Version="1.0.15" />
paket add ChemSharp.Spectroscopy --version 1.0.15
#r "nuget: ChemSharp.Spectroscopy, 1.0.15"
// Install ChemSharp.Spectroscopy as a Cake Addin
#addin nuget:?package=ChemSharp.Spectroscopy&version=1.0.15
// Install ChemSharp.Spectroscopy as a Cake Tool
#tool nuget:?package=ChemSharp.Spectroscopy&version=1.0.15
<p align="center"> <img src="https://raw.githubusercontent.com/JensKrumsieck/ChemSharp/master/icon.png" height="125px" /></p> <h1 align="center" >ChemSharp.Spectroscopy</h1>
Features
- Open and process Spectroscopy related files (see Supported Filetypes)
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:
Compatibility
- .NET Standard 2.0, .NET Standard 2.1, .NET 5, .NET 6
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
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.0.0 | 82 | 3/1/2023 | |
2.0.0-beta.1 | 58 | 12/1/2022 | |
2.0.0-alpha.3 | 66 | 9/13/2022 | |
2.0.0-alpha.2 | 58 | 9/5/2022 | |
2.0.0-alpha.1 | 59 | 9/2/2022 | |
1.1.0-beta.2 | 95 | 7/26/2022 | |
1.1.0-beta.1 | 109 | 5/16/2022 | |
1.0.15 | 356 | 1/27/2022 | |
1.0.14 | 326 | 1/24/2022 | |
1.0.13 | 223 | 12/5/2021 | |
1.0.12 | 208 | 12/5/2021 | |
1.0.11 | 2,852 | 11/25/2021 | |
1.0.10 | 250 | 8/6/2021 | |
1.0.9 | 260 | 7/2/2021 | |
1.0.8 | 270 | 6/18/2021 | |
1.0.7 | 302 | 6/16/2021 | |
1.0.6 | 242 | 5/20/2021 | |
1.0.5 | 283 | 5/20/2021 | |
1.0.4 | 388 | 4/4/2021 | |
1.0.3 | 279 | 3/30/2021 | |
1.0.2 | 254 | 3/29/2021 | |
1.0.1 | 273 | 3/9/2021 | |
1.0.0 | 262 | 3/2/2021 | |
1.0.0-beta5 | 140 | 2/20/2021 | |
1.0.0-beta4 | 161 | 2/16/2021 | |
1.0.0-beta3 | 197 | 2/11/2021 | |
1.0.0-beta2 | 169 | 2/6/2021 | |
1.0.0-beta1 | 171 | 2/4/2021 | |
1.0.0-alpha20210202 | 170 | 2/2/2021 | |
1.0.0-alpha20210123 | 197 | 1/23/2021 | |
1.0.0-alpha20210105 | 213 | 1/6/2021 | |
1.0.0-alpha1 | 260 | 12/28/2020 |