Skip to main content

Python library to analyze how the shape of the stump evolves, from the cast to the finished socket, based on the three-dimensional digitization of the surfaces.

Project description

socketfactorylogo

SocketFactory is a Python library to analyze how the shape of the stump evolves, from the cast to the finished socket, based on the three-dimensional digitization of the surfaces. The software uses algorithms and computational geometry tools in order to support data processing processes. The implemented functionalities will also help understanding the errors inherent in the production of tailored orthopedic devices, including the propagation of error during the process chain. The developed library provides a set of interfaces that allows access to non-expert users and is characterized by modularity and extensibility of features.

The data processing flow was developed in the following phases:

  • Acquisition and pre-processing of data;
  • Digital identification of anatomical landmark;
  • Alignment of surfaces in a global reference system according to a common logic, using methods defined both for patients with transtibial and transfemoral amputation;
  • Spatial registration of two surfaces to align them with each other;
  • Generation of outcomes and dimensional parameters, including distance maps, cross-sections, geodesic paths and regions of interest;
  • Extraction of summary statistical indicators of differences related to a series of scans using PCA.

Functionalities

The provided interfaces allow to perform various features:

  1. Mesh decimation;
  2. Landmark selection;
  3. Alignment of the scan according to a chosen method;
  4. Registration of two meshes using different algorithms which the user can select from a predefined list;
  5. Creation of 3D color quality mapper given two meshes and the related distance metric;
  6. Application of the same color scale to N meshes for inter-map comparison;
  7. Computation of cross-sections and related dimensional parameters;
  8. Extraction of Region Of Interest (ROI) and analysis of the quality parameters associated with it;
  9. Generation of the geodesic path between two mesh points, calculation of length and extraction of points coordinates at certain percentages of path;
  10. Generation of the .pts file required by the morphing software, given two meshes;
  11. PCA application to a set of meshes;
  12. Differential PCA application to a set of differences between two mesh groups.

SocketFactory relies on different libraries:

Installing SocketFactory

SocketFactory uses Python 3.8.

SocketFactory can be installed via pip from PyPI.

pip install SocketFactory

Running applications

Run in Python console:

from SocketFactory import filename

filename.launch()

Replace filename with the file name of related functionality.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SocketFactory-1.0.4.tar.gz (65.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SocketFactory-1.0.4-py3-none-any.whl (91.3 kB view details)

Uploaded Python 3

File details

Details for the file SocketFactory-1.0.4.tar.gz.

File metadata

  • Download URL: SocketFactory-1.0.4.tar.gz
  • Upload date:
  • Size: 65.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for SocketFactory-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3e828ab6abdfe3c52543eadce66a0b2f698bc4cabd4544d3cead211c8a54db22
MD5 bf9744213246649d131187c5a5c1adaa
BLAKE2b-256 0371c7d8c8b97daadc60c13ce7a06f71e108c50c57780c2141409cd0bd3a743e

See more details on using hashes here.

File details

Details for the file SocketFactory-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: SocketFactory-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 91.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for SocketFactory-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0df8f1d8f90b3891ed3a363197483d175c6e77c718b538d6b80a57619084d6e2
MD5 99a50f86c2a19a5195dc8da0d64a21a8
BLAKE2b-256 8c75547ee0ca6ea79c3c7b812ef5afb374b4b8b6b32f7a6a334c7194d3e2672f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page