This release is a pre-release and may not be stable for production use.
ABOUT
UNSIOTOOLS contains a collection of unsio based programs and depends of the Nemo package. You have access to falcON algorithm to compute density and gravity.
Installing python wrapper
pip install unsiotools -U
To get some docstring help
# Help on falcON class
pydoc unsiotools.simulations.cfalcon
Usage
- In the example below, we load a RAMSES simulation, and compute density and gravity on HALO particles
import unsio.input as uns_in # unsio reading module
import unsiotools.simulations.cfalcon as falcon
myfile="/home/jcl/output_00004" # input RAMSES simulation
# we instantiate a CUNS_IN object
my_in=uns_in.CUNS_IN(myfile,"halo") # We select components HALO
#
# Reading
#
if my_in.nextFrame(): # load snapshot
# read halo positions
status,pos=my_in.getData("halo","pos")
# read halo mass
status,mass=my_in.getData("halo","mass")
# read time simulation
status,timex=my_in.getData("time")
# compute density
cf=falcon.CFalcon()
ok,rho,hsml=cf.getDensity(pos,mass)
print("Rho=",rho)
# compute gravity
eps=0.05 # softening
ok,acc,phi=cf.getGravity(pos,mass,eps)
print (ok,acc,phi)
- In this more simple example, we compute density and gravity on random data. Note that data must be in float32 format
import unsiotools.simulations.cfalcon as falcon
import numpy as np
pos=np.float32(np.random.random_sample((300,)))
mass=np.float32(np.random.random_sample((100,)))
cf=falcon.CFalcon()
# density
ok,rho,hsml=cf.getDensity(pos,mass)
print(f"ok={ok}\nrho={rho}")
# gravity
eps=0.05
ok,acc,phi=cf.getGravity(pos,mass,eps)
print (f"ok={ok}\nacc={acc}\nphi={phi}")
Licence
UNSIOTOOLS is open source and released under the terms of the CeCILL2 Licence
Webpage
PLease visit :
Copyright
Copyright Jean-Charles LAMBERT
Jean-Charles.Lambert_at_lam.fr
Metadata
Release files for unsiotools 1.0.2rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| unsiotools-1.0.2rc1.tar.gz | 588.0 kB | Without provenance | Details |
Built distributions (wheels)
Total release size: 163.6 MB
Release files / unsiotools-1.0.2rc1.tar.gz
| Download URL | unsiotools-1.0.2rc1.tar.gz |
|---|---|
| Size | 588.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65f6d397c0998e41ebe22db1418cb468a9284b1c7e4e9758f2d4b27bb4574e9b
|
|
BLAKE2b-256 checksum How to use checksums |
9e276fc9ad86a3d75065868d1b866ed13cd5ae42c726b49293793f1240b27fc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e28c621f757615c2f412cdab228c7407d40d9a5fa70f7f98398ceb642c83b56b
|
|
BLAKE2b-256 checksum How to use checksums |
9af4f649cb23cbb7075e86c3b99d66ff874bf116bbd9d77fec3bfab9108c6a40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f202ccf8186c799ed064e06dd6af6e17e2ee757b607ae3c96a226c6f346e49be
|
|
BLAKE2b-256 checksum How to use checksums |
fe0b9e8c0320c4ab060e686e49a6201b6d20b8b4644684738b47b3caba2b1225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | unsiotools-1.0.2rc1-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a5fa8f124b7c2706ac03e9901288f677108cc1524efefa597b093f8d765bd864
|
|
BLAKE2b-256 checksum How to use checksums |
51c351d0342b6b92111004191097ab741d7b8fe4df04160ebd665effad48eba3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / unsiotools-1.0.2rc1-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
17717c8df19d3bd80885aa8736f0b50e7a4ae1afe0bb22e59bd82fb0887b6f7f
|
|
BLAKE2b-256 checksum How to use checksums |
41f6c632d8354063f177124a6b88d06e97e0b74c6679189a889d728ff46936a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / unsiotools-1.0.2rc1-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
46ece65a05fed60cccfd3e44fbdbec32e1f7927186c688857202b7709d9033df
|
|
BLAKE2b-256 checksum How to use checksums |
580c46ba7b99cf3c44103b035f1825311a67bb082eb80565228d36ef568661f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
54690b4639694eacc09e3fd5467ea2d0cad71bc091e5c772e324fbd2c90c8416
|
|
BLAKE2b-256 checksum How to use checksums |
4285f44cd572977e4c84309258dc8638ed0d7a645ce152eee1620fdad715f06f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | unsiotools-1.0.2rc1-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e32dd6154d8066bb8740e9e3fe4468e3b9b7fee26ca00c345dbda72cbdb556f1
|
|
BLAKE2b-256 checksum How to use checksums |
6d32e0152f37d506d5028c0a67002e4ef8ebb9a9a1c31bee0f0d69e9040b7016
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / unsiotools-1.0.2rc1-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
f0f8d64a5a4621be4d30f85f7cd35425db3190a3a041d77a14349642f2871bee
|
|
BLAKE2b-256 checksum How to use checksums |
ff46e67546675d36223276953f89a563c446208980179b57b6f2e6daacf0d49d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / unsiotools-1.0.2rc1-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
a2c72701110fbfdf79493bac0bfc2a54d541978351aaadc23e0c743eb9a562a1
|
|
BLAKE2b-256 checksum How to use checksums |
9c7fc3955e9d563acfd6681cfc16d23751fb50196f650278f2ae56f67423f245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff7d70feeadfca181ba3778fd4bf50681945e6e7d281900ce1711921705653d5
|
|
BLAKE2b-256 checksum How to use checksums |
a65410e7fa1bda907e9984be541927ef067997def879b744998f161a9c7a26c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp311-cp311-macosx_15_0_arm64.whl
| Download URL | unsiotools-1.0.2rc1-cp311-cp311-macosx_15_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.11 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c48b295a09e2316a65fc94b86488d7fdd4760cc61f6dc27013b50b662503cc86
|
|
BLAKE2b-256 checksum How to use checksums |
ebe94f5bec65a8f10fa299068085883bd24c49384aef532d1b20b0a9e96e3f69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / unsiotools-1.0.2rc1-cp311-cp311-macosx_10_13_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp311-cp311-macosx_10_13_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.11 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
38571363eab5593d54f3b4d49f9841ca6027edec435bc316dab18a41ab00536e
|
|
BLAKE2b-256 checksum How to use checksums |
7d3dde281ca103b914a6b8dc3d73929e07927201478fe0f57f10c55eb4bf60d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / unsiotools-1.0.2rc1-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
565b4b5e989187e4722a1912279b026b2add6536a05e49e52bd8fe7f1363b21c
|
|
BLAKE2b-256 checksum How to use checksums |
27b47fb76064a67b74c117b51a53aea9b938583c6abb8255d317c1206df7d963
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
391a56177f48dfa9da3ad81890cf851233e4bcfe99dae61d2fb7622554ce8ac6
|
|
BLAKE2b-256 checksum How to use checksums |
89d095786b485b6e48bef2cbef25c7163e070c43b4401ccf08a195b20c1b74b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp310-cp310-macosx_10_13_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp310-cp310-macosx_10_13_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.10 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
713de07fbeaad9cb73c1667f0084ebd70ba92a0d66a5fae470caeb4e983901d4
|
|
BLAKE2b-256 checksum How to use checksums |
0a8cd5994b43cc73bf3dd4f510ecbd76145f87aacb8ba173acac5792690f166e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / unsiotools-1.0.2rc1-cp39-cp39-manylinux_2_28_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp39-cp39-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
910db9af60cae7322efc2b5bf243e81fd8d9db94629fd6047375033bfc60ba8f
|
|
BLAKE2b-256 checksum How to use checksums |
fbd5cc96f74e140ac8ebc544d66c94b722d67df531581bd90f5f8a0151f2b40d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f2e1b7376aaa9e4164b9701037cd1f2f6474d67d58858b0d8062e482fbe7ae76
|
|
BLAKE2b-256 checksum How to use checksums |
fb005505c8ca8106622a69a092ba31f74f6d055ea924463dc8c7b3572e0df849
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp39-cp39-macosx_15_0_arm64.whl
| Download URL | unsiotools-1.0.2rc1-cp39-cp39-macosx_15_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fce650dcf08c0aa264e56ce65cf37656f82cf5716e51c436172226b4d4ff59b4
|
|
BLAKE2b-256 checksum How to use checksums |
5b3e5292f587906ba316880ae79c9d66097a059c6f91ae0b4533767a149e745a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / unsiotools-1.0.2rc1-cp39-cp39-macosx_10_13_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp39-cp39-macosx_10_13_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.9 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
a5e31f1a5dd3e9bdc77438fedc3dd9ea11822e6d8ee1dceec1568002d24a121c
|
|
BLAKE2b-256 checksum How to use checksums |
db29e37d93b117a4c7f0bcd101229b7cfed877b3d59c4c6d24c5a2c8e7c4242f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / unsiotools-1.0.2rc1-cp38-cp38-manylinux_2_28_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp38-cp38-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0657199cbfac62047d6f8072f9fa1e1fdf0a429ae56f3b90401999070310e0e8
|
|
BLAKE2b-256 checksum How to use checksums |
4697a63430d535e56455fcb5ccb01f8f0f3171a8c5d50357f501d15e7da52804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
16724d6df843187350c8382af209944f06819ea445c01b15cbfc96ee0e45b4b0
|
|
BLAKE2b-256 checksum How to use checksums |
7ed122a63b006a7f19f7aa01104c761c4b0799e1f6587e2cfe7eea91bce07c12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / unsiotools-1.0.2rc1-cp38-cp38-macosx_10_13_x86_64.whl
| Download URL | unsiotools-1.0.2rc1-cp38-cp38-macosx_10_13_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.8 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
36c4adc1b014a247e47fba0efd8d57c1591e291d02f35cfb19f058c897a3dd15
|
|
BLAKE2b-256 checksum How to use checksums |
d38f12c754307f8095ca93f3521de00c8a65934d77662bb56da770221e832228
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Security for unsiotools 1.0.2rc1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.