Skip to content

Library for processing of chemistry related files (aiming at spectroscopy and structural files)

License

Notifications You must be signed in to change notification settings

JensKrumsieck/ChemSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d28a14 · Jun 13, 2024
Feb 22, 2023
Aug 1, 2023
Jul 23, 2023
Feb 19, 2024
Feb 19, 2024
Feb 19, 2024
Feb 19, 2024
Jul 23, 2023
Jul 23, 2023
Mar 24, 2022
Aug 3, 2020
Nov 25, 2021
Jun 13, 2024
Feb 22, 2023
Feb 19, 2024
Sep 14, 2020
Aug 25, 2023
Jun 18, 2021

Repository files navigation

ChemSharp

.NET Library for processing of chemistry related files. Powers PorphyStruct!

Maintainability .NET GitHub issues GitHub commit activity GitHub license GitHub tag (latest by date)


NuGet Packages

ChemSharp NuGet Badge
ChemSharp.Molecules NuGet Badge
ChemSharp.Molecules.Blazor NuGet Badge
ChemSharp.Molecules.HelixToolkit NuGet Badge
ChemSharp.Spectroscopy NuGet Badge
ChemSharp.UnitConversion NuGet Badge

CI Releases at: GitHub Packages

Features

Basic Usage

Create Molecules

Molecules can be created in a lot of ways. The easiest way is to use MoleculeFactory.Create, which accepts a string path.

//Creates a molecule from cif file
const string path = "files/cif.cif";
var mol = Molecule.FromFile(path);

Create Spectra

Spectra can be created by using the Spectrum.FromFile Method.

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

Supported Filetypes

  • Molecule

    • Import (XYZ, CIF (crystallographic information file, CCDC), MOL2 (TRIPOS Mol2), PDB (Protein Data Bank file), MOL (MDL MOL, ChemSpider), CDXML (Single Molecule only, 2D))
    • Export (XYZ, MOL2)
  • Spectroscopy

    • 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

Used by (Highlights):

Stats

Alt