Giter Club home page Giter Club logo

decon1d's Introduction

I have changed several things about the program, including now condensing both the settings and compuational script into one file. decon2.0.py allows specfic named files to be deconvoluted and requires you to enter the current path to the directory you are working in, whereas decon2.0b.py differs only in that it will attempt to deconvolute all files in the working directory that match the specifiers within the '' on line this line: "for filename in glob.glob(os.path.join(path, '*')):"

For details about this software see Deconvolution of Complex 1D NMR Spectra Using Objective Model Selection
Hughes TS, Wilson HD, de Vera IMS, Kojetin DJ (2015) Deconvolution of Complex 1D NMR Spectra Using Objective Model Selection. PLoS ONE 10(8): e0134474. doi: 10.1371/journal.pone.0134474

In addition to python and it's standard library and commonly included modules (e.g. random, math, csv) the modules numpy, pylab, matplotlib, seaborn, scipy.signal are required along with the module lmfit. 
All of these modules (except lmfit) are included in the Enthought python distribution (https://www.enthought.com), which is likely the easiest method to get 
decon1d to work. The Enthought free version contains all these modules. The download and installation instructions for lmfit can be found at (http://lmfit.github.io/lmfit-py/).

After installing the required software create a folder and place decon1d.py and your data in the folder. Adjust the variables
on the top portion of decon1d.py as required for your data. Next open a terminal window and navigate to the folder that contains your data and type python (or your alias for python) and decon1d.py. A single pdf document should be created within the same folder that displays the deconvolution models.

S1 Data.txt contains example simulated data from the above mentioned paper.

decon1d's People

Contributors

hughests avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.