Skip to main content

PhysicsNum

Physics Numerical methods applied and used during the bachlelor degree in Physics at Lund University. Most notbly is the numerical approximation methods and similar. The code regression works upon least square methods, and weighted least square methods and have been verified. If an issue occurs when using this package, contact via GitHub for a fast solution.

Code

xlist1 = np.array([1,2,3,4,5,6,7,8,9,10])
ylist1 = np.array([4,6,9,10,12,14,16,18,20,21])
Model = ForceLinearreg(xlist1, ylist1)
print(Model)
plt.plot(xlist1, ylist1, '.', label = "DATA")
plt.plot(xlist1, xlist1 * Model[0], '-', label = "Regression")
plt.legend()
plt.show()

This is a small indication of PhysicsNum.ForceLinearreg, where PhysicsNum.Linearreg is written in the same way.

Contribute

Feel free to contribute to this code, it is found on Github under the authors name.

Release files for PhysicsNum 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PhysicsNum 0.1.1
File Size Uploaded
PhysicsNum-0.1.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PhysicsNum 0.1.1
File Interpreter ABI Platform
PhysicsNum-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / PhysicsNum-0.1.1.tar.gz

Download URL PhysicsNum-0.1.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a984c3d4a9bb76411b40ecb17b68456b84a55e9dcafb54aa214dcd8060fd157f
BLAKE2b-256 checksum
How to use checksums
bfb887ae4431b86a9917a2a4506436d352e605786363ad239b07362e302ad5c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release files / PhysicsNum-0.1.1-py3-none-any.whl

Download URL PhysicsNum-0.1.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea6d4b220b455ae88e0b815a87f4a3dbf5d83b948cedb37359f59ce3b6beb73c
BLAKE2b-256 checksum
How to use checksums
48badfc5af3d41cd90bfa30cb20635e65e805d859cddfc3c27d41a3171a70927
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page