Skip to main content

A computing library designed with engineers in mind..

Project description

scisuit

High performance, scientific computing library designed with engineers in mind..

 

Engineering Library

Designed mostly for process engineers.

Examples

1. Psychrometry:

Computation of properties of humid-air.

from scisuit.eng import psychrometry

r = psychrometry(P=101, Tdb=30, Twb=20)

#all of the properties
print(r)
P=101.0 kPa,
Tdb=30.0 C
Twb=20.0 C
Tdp=14.17 C
H=57.06 kJ/kg da
RH=39.82 %
W=0.0106 kg/kg da
V=0.876 m3/kg da

 

2. Food:

A rich class for not only computation of food properties but also to perform food arithmetic.

import scisuit.eng as eng

milk = eng.Food(water=88.13, protein=3.15, cho=4.80, lipid=3.25, ash=0.67)
water = eng.Food(water=100)

#removal of 87% water from milk
powder = milk - 0.87*water 
print(powder)
Type = Food
Weight (unit weight) = 0.13
Temperature (C) = 20.0
water (%) = 8.69
cho (%) = 36.92
protein (%) = 24.23
lipid (%) = 25.0
ash (%) = 5.15
aw = 0.194

   

Statistics Library

Statistical tests & distributions.

from scisuit.stats import linregress

#input values
temperature = [80, 93, 100, 82, 90, 99, 81, 96, 94, 93, 97, 95, 100, 85, 86, 87]
feedrate = [8, 9, 10, 12, 11, 8, 8, 10, 12, 11, 13, 11, 8, 12, 9, 12]
viscosity = [2256, 2340, 2426, 2293, 2330, 2368, 2250, 2409, 2364, 2379, 2440, 2364, 2404, 2317, 2309, 2328]

#note the order of input to factor
result = linregress(yobs=viscosity, factor=[temperature, feedrate])
print(result)

#Output
Multiple Linear Regression  
F=82.5, p-value=4.0997e-08, R2=0.93

Predictor        Coeff        StdError         T             p-value
X0               1566.078         61.59       25.43       9.504e-14
X1               7.621            0.62        12.32       3.002e-09
X2               8.585            2.44        3.52        3.092e-03

   

Numerics Library

Libraries for solving ODE, root finding, fitting, integration...

from scisuit.roots import bisect, brentq, itp

args = {"f":lambda x: x**2-5, "a":0, "b": 4} 

for func in [bisect, brentq, itp]:
    print(func(**args))
Bisection using brute-force method 
Root=2.23607, Error=3.35e-06 (18 iterations).

Brent's method (inverse quadratic interpolation)
Root=2.23607, (7 iterations).

ITP method
Root=2.23607, Error=3.43e-07 (7 iterations).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scisuit-2.2.0-cp313-cp313-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.13Windows x86-64

scisuit-2.2.0-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

scisuit-2.2.0-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

scisuit-2.2.0-cp310-cp310-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.10Windows x86-64

File details

Details for the file scisuit-2.2.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: scisuit-2.2.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for scisuit-2.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2e55516a40e15b2bb7d2c9c13eabaa8ecdae7114d18c8694e7e3ef197f1207c3
MD5 ef7daa9bd1a334e104e9ef2981f7d950
BLAKE2b-256 fd8d45ab28e54a98c3a57d3d204c3453101be9090800647bcd055288cd543aea

See more details on using hashes here.

File details

Details for the file scisuit-2.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: scisuit-2.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for scisuit-2.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 59e25b2b438f1b731baa67639112b4403d4289df85d55ea6b97c457278a95681
MD5 a8175d417538341c7392169eff6ed308
BLAKE2b-256 c4550600865d5e0c171ad2d8131f11ffb01afe16d3e215fad6a120d345c40a42

See more details on using hashes here.

File details

Details for the file scisuit-2.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: scisuit-2.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for scisuit-2.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1b6dbdcf492ca6831cfc3a17714e77cbd1e0f77a7b6828b9e96824d526807fd7
MD5 4b20be45723dcf590932fa154fea4660
BLAKE2b-256 b9de756d42fa0b037cc02a85a6fa251461f34c3d297aaf02f3e7ffe4b0a8b960

See more details on using hashes here.

File details

Details for the file scisuit-2.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: scisuit-2.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for scisuit-2.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8930c9881e74fd5ac099735e3cb2c444c292527dae0e04e0c86effca019bef5f
MD5 e13a48b9e604d9a75ee84d2019f630d7
BLAKE2b-256 256b60fb53b34e3fa5cda80a9cca73639402df59fcecacb0a0089ceb4c16e8e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page