Git Product home page Git Product logo

adsorfit-model-fitting's Introduction

ADSORFIT: Automated Adsorption Model Fitting

1. Project Overview

ADSORFIT is designed to streamline the process of adsorption modeling for researchers in the field. By automating the fitting of theoretical adsorption models to empirical isotherm data, this tool helps in accurately extracting crucial adsorption parameters such as adsorption constants and saturation uptakes. The core functionality revolves around minimizing the Least Squares Sum (LSS) discrepancy between observed and model-predicted uptakes, thereby refining the fit and ensuring the model constants reflect true adsorption behavior under given experimental conditions.

2. Installation

The installation process is designed for simplicity, using .bat scripts to automatically create a virtual environment with all necessary dependencies. Please ensure that Anaconda or Miniconda is installed on your system before proceeding.

  • The scripts/create_environment.bat file offers a convenient one-click solution to set up your virtual environment.
  • Once the environment has been created, run scripts/package_setup.bat to install the app package locally.
  • IMPORTANT: run scripts/package_setup.bat if you move the project folder somewhere else after installation, or the app won't work!

3. How to use

Prepare Your Data: ensure your adsorption isotherm data is in the ADSORFIT/resources/adsorption_data.csv file, keeping the header intact to avoid processing errors. The CSV should include columns for experiment, temperature, pressure [Pa], and uptake [mol/g]. Here is a brief summary of the dataset columns:

  • experiment: ID or name of the experiment used to group data based on individual experiments
  • temperature: This denotes the temperature of the adsorption isotherm, measured in Kelvin
  • pressure [Pa]: These are the pressure points of the adsorption isotherm, measured in Pascal
  • uptake [mol/g] This column contains the uptake measurements of the adsorption isotherm, expressed in mol/g

Configurations

For customization, you can modify the main script parameters via the ADSORFIT/commons/configurations.py file.

Category Setting Description
Model settings LANGMUIR_GUESS Initial guess values for Langmuir adsorption model parameters
LANGMUIR_MAX Max value of Langmuir adsorption model parameters
SIPS_GUESS Initial guess values for Sips adsorption model parameters
SIPS_MAX Max value of Sips adsorption model parameters
FREUNDLICH_GUESS Initial guess values for Freundlich adsorption model parameters
FREUNDLICH_MAX Max value of Freundlich adsorption model parameters
Fitter settings SEED Global random seed
MAX_ITERATIONS Max number of fitting iterations

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

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.