# ACEcalc
> This is beta version.
> the code is not complete.
Fast calculate the cyclone ACE.
## Library description
add_knot:
Add the knots.
_example_:
`py import ACE_calc ACE_calc.set_mode(ACE_calc.TROPICAL) ACE_calc.add_knot(50) ACE_calc.add_knot(45, 2) ACE_calc.add_knot(35, 2, 1) ACE_calc.output_knot() `
output:
`index = 1, knots = 50, mode = tropical index = 2, knots = 35, mode = subtropical index = 3, knots = 45, mode = subtropical `
_parameters_:
knots:int: The knots you want to add.
mode=now_mode: The mode you want to add.
index:int=len(ACE_list): The index you want to insert in the after.
_raises_:
ValueError: Your input or mode is invalid.
—
### add_knots
Add the some knots.
_example_:
`py import ACE_calc ACE_calc.set_mode(ACE_calc.TROPICAL) ACE_calc.add_knots(50, 3) ACE_calc.output_knot() `
output:
`index = 1, knots = 50, mode = tropical index = 2, knots = 50, mode = subtropical index = 3, knots = 50, mode = subtropical `
_parameters_:
knots:int: The knots you want to add. mode=now_mode: The mode you want to add. index=len(ACE_list): The index you want to insert in the after.
_raises_:
ValueError: Your input or mode is invalid.
—
### output_knots
Format print your knot list.
_exmanple_: `py import ACE_calc ACE_calc.set_mode(ACE_calc.TROPICAL) ACE_calc.add_knot(50) ACE_calc.output_knot() `
### output:
` index = 1, knots = 50, mode = tropical `
— ### get_konts_indexed
Get all the ACE indexes (index starts from 1).
_exmanple_: `py ACE_calc.add_knot(50) ACE_calc.add_knot(45, 2) ACE_calc.add_knot(50, 2, 1) get_ACE_indexes(50) `
output:
` "[1, 2]" `
_parameters_:
knots:int: The knots you want to search.
_returns_:
list[int]:
All the knots list.
Metadata
Release files for ACE-calc 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ace_calc-0.1.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ace_calc-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / ace_calc-0.1.0.tar.gz
| Download URL | ace_calc-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
139d7a289851cd3de91ae3eaed9603337091dd8e5159c17d62752896910d6250
|
|
BLAKE2b-256 checksum How to use checksums |
d3a182090df4d30efd29ff60a57c7bfd79b55a3b2c6509d790fec7d51b98b336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / ace_calc-0.1.0-py3-none-any.whl
| Download URL | ace_calc-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c867e6da0a25543c5d288b4c90097830a8935d98be133743a3df429be383b36
|
|
BLAKE2b-256 checksum How to use checksums |
321179989e8def982d4adf8e79227fe2209a4f9f18a9f66f1730bd2e8d460018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|