Giter Site home page Giter Site logo

tds_fit's Introduction

TDS FIT

During my master's thesis Thermal Desorption Spectroscopy (TDS) has played a central role. As a result, I have worked on a program able to fit TDS spectra with two different methods. One is simply solving the Kissinger equation for different trap energies (and frequency factor). The second one is by using TMAP7. This repository contains my python scripts to fit spectra to a given data set. In the figure below, an example of a TMAP7 fit on a generated data set is shown:

Generated_SPGD_noisy

What does this code do?

TMAP7 fitter

The main.py file runs a gradient descent algorithm for 280 iterations (about 20 hours) and saves a plot in the folder \Pol_de_Dalmau_MSc\Poltest\SPGD_tester for each iteration. The data being fitted is generated by the input file \Pol_de_Dalmau_MSc\Poltest\SPGD_tester\Generated.inp with added random noise. The noise is added in the main.py script itself.

Kissinger fitter

This work is still pending

How to use this code

You need to have TMAP7 installed in order to use this code. The main.py script must be in the TMAP7R directory (the same directory as the tmap7.bat and t7.bat files). Before executing the main.py file:

  • run the usual "tmap7" command in your terminal.
  • run some .inp file as t7 "C:PATH\to\input\filename"
  • execute main.py file

tds_fit's People

Contributors

poldedalmau avatar

Stargazers

 avatar

Watchers

 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.