Skip to main content

Librairie utile pour simplifier le programme. Librairie déstiné au projet Shiva.

Dépendance :

  • Numpy

Fonctions :

line(x,y,z,vectX,vectY,vectZ,norme,name='vect',large=0.3, color=[0.4, 1.0, 0.0], selectedColor=[1.0, 0.5000076295109484, 0.5000076295109484]) :

- x,y,z : position de depart
- vectX,vectY,vectZ : position d'arriver
- norme : taille de la ligne
- name : nom de la ligne (optionnel)
- large : largeur de la ligne (optionnel)
- color : couleur du Markups (optionnel)
- selectedColor : couleur du Markups (optionnel)

point(x,y,z,name="point",large=5.0, color=[0.4, 1.0, 0.0], selectedColor=[1.0, 0.5000076295109484, 0.5000076295109484]) :

- x,y,z : position du point
- name : nom du point (optionnel)
- large : largeur du point (optionnel)
- color : couleur du Markups (optionnel)
- selectedColor : couleur du markup (optionnel)

final(suite) :

- suite : suite contenant tout les dictionnaire creer precedement (Attention, il est imperatif que la condition soit une suite et non un dictionnaire)

rotatBbox(vectPro, centroid, coords) :

- vectPro : le vecteur propre de l'objet
- centroid : le centroid de l'objet
- coords : les coordonnées de chaque voxel de l'objet

calcul(centroid, long, vectPro) :

- centroid : le centroid de l'objet
- long : les longueurs renvoyées par rotatBbox(...)
- vectPro : le vecteur propre de l'objet

Change Log

1.0 (05/07/2021)

  • First release : Ajout des fonctions contenue dans la libraire MarkupFor3DSlicer. Ainsi que rotatBbox(...) et calcul(...).

Metadata

Release files for LibForShiva 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LibForShiva 1.0
File Size Uploaded Provenance Actions
LibForShiva-1.0.tar.gz 4.1 kB Without provenance Details for LibForShiva-1.0.tar.gz

Release files / LibForShiva-1.0.tar.gz

Download URL LibForShiva-1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0aaa38c7540336d3d198d69d9397081e32a81ffbb2377b55230c3e006d157464
BLAKE2b-256 checksum
How to use checksums
cc4886254ec0080840fb9efe2629346fb4f5a45b8aa9a7473af9c3cbb248fb17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Security for LibForShiva 1.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page