Code Monkey home page Code Monkey logo

ifg-py's People

Contributors

actions-user avatar alekseik1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ifg-py's Issues

Support for both array-like `specific_volume` and `temperature`

Passing two vectors (1xn arrays) to any function results in returning a vector instead of matrix.

The solution should be based on np.meshgrid() usage, so that the result will be a matrix 'n*m', where n is size of specific_volume vector and 'm' is size of temperature vector.

Bug on installation

Steps to reproduce:

  1. run docker image of ubuntu:16.04
  2. apt update && apt install -y python3-pip && pip install ifg
  3. enjoy crashes on install:
      File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 46, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-1rWE4t/scipy-1.5.0/setup.py", line 31, in <module>
        'Programming Language :: Python :: 3.6',
    RuntimeError: Python version >= 3.6 required.

Proposed solution:

  • Check tox configuration - it should really check and crash, not pass every time;
  • Add post-build tests to CI:
    • Make build multi-staged;
    • Safe wheel package as an artefact after the build stage;
    • Test if package can be successfully installed on clean ubuntu in docker image;
  • Deploy only after all checks are successful. Currently, deploy is triggered after each test.

Support for r_s as volume parameter

Defined by equation

4/3 \pi r_s^3 = 1/n,

where n stands for concentration, r_s can be used as an alternative source of specific volume input.

It needs to be implemented and tested

Не все свойства работают

Модуль выдает не все термодинамические параметры, описанные в документации (я смотрел help(ifg) в консоли).

Так, энтропия (S) совсем не выводится, хотя в документации есть, а желательно еще добавить энергию (E).

Кроме того, параметр, отвечающий за давление, сейчас называется (p), маленькая буква, а хотелось бы для единообразия, чтобы была большая (P).

Support for fully vectorized input

Currently, it is unclear whether calculator supports vectorized input for both specific_volume and temperature.

Should check it, and cover with tests

Crash on high and low temperatures

  • FInd reports from PR about low temperatures crash;
  • FInd reports from PR about high temperatures crash;
  • Implement high temperature asymptotic;
  • Implement low temperature asymptotic;

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.