GithubHelp home page GithubHelp logo

dongjae-shin / pydrifts3d Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.42 MB

python-based code to convert experimental DRIFTS data to 3D contour plot

License: MIT License

Python 100.00%
experimental-data post-processing visualization drifts

pydrifts3d's Introduction

Introduction: pydrifts3d

pydrifts2d is a python code to convert the experimental raw spectra data from DRIFTS (Diffuse Reflectance Infrared Fourier Transform Spectroscopy) to three dimensional plot. Multiple DRIFTS plots can be automatically generated according to the used-defined plotting parameters.

schematics

How to use

Way 1. Using executable file in Windows

  1. Download executable file (drifts.exe) from the link:
    https://www.dropbox.com/s/39ubk45g0n2wp9k/drifts.exe?dl=0
  2. Put (multiple) DRIFTS files (csv format) in the same directory of the executable file (See the example DRIFTS raw input file in this repository.).
    initial_state_Windows
    Input files' names should be in the following format (This way, the plotting parameters can be set here.):
    input_file_format
  3. Run the executable file by double-clicking (It takes ~30 to 60 seconds before something first pops up, depending on the running environment).
    results_Windows
  4. Output png files are generated.
    final_state_Windows
    Example plot result:

example_output_plot

Way 2. Using python code in Linux

  1. Download the drifts.py file from this repository.
  2. Put (multiple) DRIFTS files (csv format) in the same directory of the executable file in Linux.
  3. Run the code by typing:
    $ python drifts.py
    It may run faster than in Windows.
  4. Output png files are generated.

Applications of this code

pydrifts3d has been utilized in many scientific papers, especially in the field of catalysis:

  1. ACS Catal. 2022, 12, 8, 4402โ€“4414 (https://doi.org/10.1021/acscatal.2c00476)
  2. J. Mater. Chem. A, 2022, 10, 24995-25008 (https://doi.org/10.1039/d2ta08217a)
  3. Catal. Sci. Technol., 2023, 13, 3849-3858 (https://doi.org/10.1039/D3CY00551H)

pydrifts3d's People

Contributors

dongjae-shin avatar

Stargazers

 avatar

Watchers

 avatar

pydrifts3d's Issues

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.