Coder Social home page Coder Social logo

pybatdata's Introduction

pybatdata

To run the GUI: python analyseGUI.py To run from a script: python analyse.py

Modify these scripts to suit your analysis. Example data has been added to test the code.

Note than a folder pycache will be created when you run the app. However, this folder would not be tracked with the version control system.

Requirements

The code runs in Python 3 and it requires the following libraries that can be install using pip: numpy, pathlib, preparenovonix.

Contributing

If you have new analysis code add it as a function within the pybatdata/plot_cycling.py or pybatdata/plot_eis.py, depending if the type of analysis is for Cycling or EIS. Follow the example function V_I_time to see how to call the diferent functions to read the data.

If you want to enhance the code to be able to deal with a new equipment or modify the default column names, update the file pybatdata/constants.py.

Acknowledgements

The first version of this code was created by Matheus Aparecido do Carmo Alves, Alana Aragon Zulke and Caio Ferreira Bernardo, at Lancaster University. For further contributions, see the history in the corresponing GitHub.

pybatdata's People

Contributors

micanga avatar viogp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ierots

pybatdata's Issues

README w acknowledments and examples

We need to fill in the README w some acknowledgements (in particular so the work from Alana is acknowledge, despite not having write code) and examples on how to use the code.

Not plotting

Dash environment working, data browser working (although time-consuming) but the graph is not being generated. Data is being printed in the terminal instead. when I press "plot" in the terminal you see the values picked for "cycles"

Analysis functions

Need to implement the following functions:
coulombic_efficiency.py
diff.py
DVA.py
dVdQ.py
fit_mcmc.py

into (working) functions within plot_cycling.py and then delete the above files.

Documentation

It will be good to add descriptions to the functions and routines that can be converted into some documentation using, for example Sphinx

DVA

won`t create the DVA graph for one particular data file
Errorlog I see in the terminal :

_cycles: []
Differential Voltage Analysis (DVA)
C:\Users\zulke\PycharmProjects\batlab_dash-master\batlab_dash-master\Novonix_Protocol.py:129: RuntimeWarning:

divide by zero encountered in divide_
๐Ÿ‘

Browsing data issue

Issues when selecting the .csv file. It doesn`t upload on the screen. In the terminal one reads:
TypeError: a float is required

Testing

It will be good to include some testing and maybe even some continuous integration.

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.