https://github.com/engineerjoe440/phasors
https://github.com/engineerjoe440/phasors
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/engineerjoe440/phasors
- Owner: engineerjoe440
- License: mit
- Created: 2024-05-04T04:47:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T20:18:39.000Z (about 2 years ago)
- Last Synced: 2025-03-07T01:01:50.377Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phasors
*A means to measure complex values with magnitude and angle.*
[](https://pypi.org/project/phasors/)
[](https://pepy.tech/project/phasors)
[](https://github.com/engineerjoe440/phasors/)
[](https://github.com/engineerjoe440/phasors/blob/master/LICENSE.txt)
[](https://www.buymeacoffee.com/engineerjoe440)
The `phasors` package provides a means to work with complex numbers in their
polar coordinate form (with a magnitude and angle) allowing simple computation
for advanced electrical engineering or other phasor-based work.
## Installation
Installing is as simple as:
```shell
pip install phasors
```
## Usage
```python
from phasor import Phasor
voltage = Phasor(67, 120)
print(voltage)
# 67.0 ∠ 119.99999999999999°
```