A Python library that deals with different fields of science.
Project description
Disciplina
Disciplina is a mathematics module:
Function Name | Args | Returns |
---|---|---|
isMathematicalFunction(mapping) |
mapping : A dictionary of sets representing the function |
True if the mapping represents a function, False otherwise |
solveGraphically(f1, f2, x_range=(-10, 10), num_points=1000) |
f1 : The first function to solve.f2 : The second function to solve.x_range : The range of x values to plot.num_points : The number of points to use in the plot. |
A list of intersection points. |
solveOneVarEquation(equation) |
equation : The equation to solve. |
The solution to the equation. |
sqrt(__x) |
__x : The number to calculate the square root of. |
The square root of the number. |
rootOf(__x, num) |
__x : The number to calculate the nth root of.num : The value of n. |
The nth root of the number. |
isDivisible(x, num) |
x : The number to check.num : The number to divide by. |
True if x is divisible by num, False otherwise. |
normalize(value) |
value : The number to normalize. |
The normalized number. |
Acoustica
Acoustica is an acoustics module:
Function | Arguments | Returns |
---|---|---|
generateTone |
frequency: float, duration: float, vibrato_depth: float = 0.4, vibrato_rate: float = 5 | numpy.ndarray |
play |
notes: a list of tuples that contain the hertz and duration respectively | Plays the note |
getCarnaticHertz |
note: an str that represents the note | float or None |
getClassicalHertz |
note: an str the represents the note | float or None |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyAlchemista-0.0.5.tar.gz
(15.3 kB
view hashes)
Built Distribution
Close
Hashes for PyAlchemista-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62d26d1a1632e56cd05dcf11375a2b3baf44d88d568c3822a8c193d327ffeea4 |
|
MD5 | 8ec502893dfa074c815caa62daf8e99e |
|
BLAKE2b-256 | 421fdb6b50302b21ed99e7203bbf803a83ff5542bf987ffb8b4d7113204b4807 |