Scientific Computing Package
Project description
scisuit
A computing and visualization library designed with engineers in mind..
Available Libraries
- Plotting,
- Engineering,
- Statistics,
- Roots,
- Integration,
- Fitting,
- Optimization
Plot Library
Interactive charts (Bar, Box-Whisker, Bubble, Direction Field, Histogram, Moody, Psychrometry,
QQnorm, QQplot, Quiver, Scatter). Using the plot.gdi
library existing charts can be extended
or new visualizations can be created.
A simple scatter chart example:
import numpy as np
import scisuit.plot as plt
x = np.arange(1, 6)
y = x**2 - 2*x + 5
plt.scatter(x=x, y=y)
plt.show()
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
Many statistical tests & distributions.
import scisuit.stats as st
#Normal distribution
st.dnorm(0.1, mean=1, sd=2)
st.pnorm(0.1, mean=1, sd=2)
#Binomial distribution
st.dbinom(x=[7, 8, 9], size=9, prob=0.94))
#Weibull distribution
st.dweibull(x=3, shape=2, scale=4)
#log-normal distribution
st.dlnorm(0.1, meanlog=1, sdlog=2)
st.plnorm(0.1, meanlog=1, sdlog=2)
Numerics Library
Procedures for root finding, fitting, integration...
from scisuit.roots import bisect, brentq, Info
def func(x):
return x**2-5
root, info = bisect(f=func, a=0, b=5)
print("**** Bisection method ****")
print(root," ", info)
root, info = brentq(f=func, a=0, b=5)
print("\n **** Brent's method ****")
print(root," ", info)
**** Bisection method ****
2.2360706329345703 Info(err=9.5367431640625e-06, iter=19, conv=True, msg='')
**** Brent's method ****
2.2360684081902256 Info(err=None, iter=8, conv=True, msg='')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for scisuit-1.3.7-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8bb109c8a949522968519bb33d88f716346426e2344bca8303985edfbeb6c1a |
|
MD5 | 7b8556fe8e9e9a4c66f6b523eb0e6ada |
|
BLAKE2b-256 | d26e9f94d99de5e3f5d929852cc2ba7b437d1b0efad79a69582bb507a189e66d |
Hashes for scisuit-1.3.7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb6d3c161806be9ed5e7a15a5dfc01969bd8c48d85324fd29a439d3ac39695e |
|
MD5 | ca21ae1630bb527236598fea353e5215 |
|
BLAKE2b-256 | 17b6d8875d8870963d9725896fdd8608524e28dc89a6f0de900fa64465bcda10 |
Hashes for scisuit-1.3.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d26c20724185889c1778f8d272d3f8c06fcd44fbc9d49868276f179a216105 |
|
MD5 | 1134eb2fa4472e279ae31342857b604e |
|
BLAKE2b-256 | 93440eb1054e9d699710af3f025837ad2991bfd1c6df49b4afa9aa65ced4d9d1 |