🐗 A portable collection of functions for scientific exploration
Project description
🐗 pykirill
This is my personal Python package, pykirill
, which includes a collection of utilities and functions that I frequently use during scientific exploration. This package is especially designed to be portable, making it suitable for environments like Google Colab where setup needs to be minimal.
Installation
To install pykirill
, you can use pip directly from GitHub. This method ensures you always get the latest version. Here are the steps to follow:
pip install pykirill
pip install git+https://github.com/kirilledition/pykirill.git
Usage
Here are quick examples of how to use pykirill
:
Plotting
from pykirill import plotting
plotting.setup()
axm = plotting.SubplotsManager(4)
for trajectory_fragment in range(4):
frame_values = ...
ax = axm.nextax()
ax.hist(frame_values)
ax.set_title(f"Histogram of intensity values of {trajectory_fragment}")
ax.set_xlabel("Intensity")
ax.set_ylabel("Frequency")
axm.show()
Transforms
from pykirill import transforms
# For NumPy arrays
x = np.array([1, 2, 3, 4], dtype=np.float32)
log_scaled_x = transforms.log_scale(x)
# For Pandas DataFrames
log_scaled_df = df.apply(transforms.log_scale)
License
pykirill
is open-sourced under the MIT license. The details can be found in the LICENSE file.
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
Built Distribution
File details
Details for the file pykirill-2024.2.0.tar.gz
.
File metadata
- Download URL: pykirill-2024.2.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d079fef19589867a585dbbec797e3261e6b0403ac008d56a79f0291eb04102b1 |
|
MD5 | 3ea0173d289c3f206935856bb8f4ff6f |
|
BLAKE2b-256 | ca28c2e8ca0387cec6b2eea38fec71178728c7d8e161e787e8e9998e0ecb6dba |
File details
Details for the file pykirill-2024.2.0-py3-none-any.whl
.
File metadata
- Download URL: pykirill-2024.2.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae0ebe8c32e8666d23d24717006d0372eda9325358a23151047c3fc5987b06d |
|
MD5 | 3fcf1f23ef66d99f7afae71fb8e45592 |
|
BLAKE2b-256 | 340e466935e3a00f437d523f532f1801aedd6e292b0cba69457b0109efd92e95 |