This is a library of functions for manipulating data.
Project description
data
Instruction
Function planning in the Python library:
data
- data_handling
- drawing
- plotting
- research
- scripts
- statistics
- utils
How to use
install
You can build the package by running the following commands in the directory where the pyproject.toml
is located, depending on the operating system. The built package will appear in the dist folder
pip install build
# Windows
py -m build
# Unix/macOS
python3 -m build
After, you can install the package under dist
folder by running command
pip install ./data-0.0.1-py3-none-any.whl
We publish the package on PyPI website, you can install the package by running command
pip install stk-date
import package in python
# import package
import stk_data
from stk_data.statistics import get_skyrmion_shape
nx = 250
ny = 250
nz = 10
nk = 6
nR = 100
dx = 2.0
dy = 2.0
load_file_name = 'path/to/load_file'
save_file_name = 'path/to/save_file'
get_skyrmion_shape(nx, ny, nz, nk, nR, dx, dy, load_file_name, save_file_name)
scripts
- Calculate the topological number, parameters can be read and calculated via commands, terminal command as follows:
# usage: get_skyrmion_shape [-h] [--nx NX] [--ny NY] [--nz NZ] [--nk NK] [--nR NR] [--dx DX] [--dy DY] [--load_file_name LOAD_FILE_NAME] [--save_file_name SAVE_FILE_NAME]
# use examples
get_skyrmion_shape --nx 250 --ny 250 --nz 10 --nk 6 --nR 100 --dx 2.0 --dy 2.0 --load_file_name magnt.in --save_file_name GetSkyrmionShape120.dat
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 Distribution
stk_data-0.0.2.tar.gz
(31.2 kB
view details)
Built Distribution
stk_data-0.0.2-py3-none-any.whl
(34.9 kB
view details)
File details
Details for the file stk_data-0.0.2.tar.gz
.
File metadata
- Download URL: stk_data-0.0.2.tar.gz
- Upload date:
- Size: 31.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe62ad6d3ba66dca9fd56c65c9732fe9a6b60e19d1213fde9ce0831d9921226 |
|
MD5 | 7bb96696405f243e0ed7003bdbe36fb8 |
|
BLAKE2b-256 | 6c3fa7b0f17b77292def18c41334483bcc6f948361499ee40468d8cdb169ff90 |
File details
Details for the file stk_data-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: stk_data-0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d637d53c59b4399de232a8f499c1b3c27bc278a2037eece72b792efced20314 |
|
MD5 | 3bd793d8c90208c7843070d5270c300b |
|
BLAKE2b-256 | 2b9031274ae86dd135d2149a61ccfc725c21c66449ac0781f54600a93d02fbd0 |