Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyLQT

Python library to revamp the work on LQT, since it is no longer actively maintained.

install

Make sure to update your python environment with the requirements.txt: pip install -r requirements.txt

Running pyLQT

The main pyLQT pipeline can be run using the full_pipeline.py file.

Usage

python full_pipeline.py \
    --lesion_cfg <path/to/lesion_config> \
    --atlas_cfg <path/to/atlas_config> \
    --tracts_cfg <path/to/tracts_config> \
    --out_folder <path/to/output> \
    --spared_threshold 
Argument Required Default Description
--lesion_cfg Yes — Path to the lesion configuration file (.json).
--atlas_cfg Yes — Path to the atlas configuration file (.json).
--tracts_cfg No None Path to the tracts configuration file (.json).
--out_folder Yes — Path to the output folder.
--spared_threshold No 0.5 Threshold between 0 and 1 used to define spared parcel-to-parcel connectivity.
--delete_tmp No True Whether to delete the temporary files generated during processing.

Configuration files

The CLI version of pyLQT relies on 3 configuration files, one for the lesions, one for the atlas and one for the tracts:

  • Lesions: "cohort_name": name of the cohort of lesion used mainly for the naming of subsequent files; "lesion_folder": relative folder (should be next the config file) containing all the lesion niftis. The folder is scanned integrally so that all niftis in the folder and subfolders are processed; "space": world space in which the lesion are registered, can be a nifti directly given as relative path (with extensions) or a standard space name that will be fetched via templateflow (i.e. MNI152NLin2009cAsym).
  • Atlas: "name": name of the atlas used mainly for naming subsequent files; "atlas": relative path to nifti file corresponding to atlas; "atlas_labels": relative path to .csv file containing the labels of the atlas. Format should contain columns "Parcel" and "Label", corresponding to the parcel number inside the nifti and the name of the parcel respectively; "space": world space in which the lesion are registered, can be a nifti directly given as relative path (with extensions) or a standard space name that will be fetched via templateflow (i.e. MNI152NLin2009cAsym).

Note: niftis can be given as raw or gzipped niftis (.nii or .nii.gz)

Metadata

Release files for pyLQT 1.0.dev1

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

Source distribution (sdist)

Source distribution for pyLQT 1.0.dev1
File Size Uploaded Provenance Actions
pylqt-1.0.dev1.tar.gz 28.7 kB Without provenance Details for pylqt-1.0.dev1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyLQT 1.0.dev1
File Interpreter ABI Platform Actions
pylqt-1.0.dev1-py3-none-any.whl Python 3 none any Details for pylqt-1.0.dev1-py3-none-any.whl

Total release size: 60.0 kB

Release files / pylqt-1.0.dev1.tar.gz

Download URL pylqt-1.0.dev1.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5a7d808290548adad38020ead37b3bc53e2ca7462f53e3506b90af6da905e376
BLAKE2b-256 checksum
How to use checksums
d13656284dc765692d754d2b7bc205e080e9c043f84e81149afea05495b1dfb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / pylqt-1.0.dev1-py3-none-any.whl

Download URL pylqt-1.0.dev1-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69c82f40f8070292874c45fada40e42f8ca5ba53e44c2ab0938284b413f90e3a
BLAKE2b-256 checksum
How to use checksums
91efcc99fb10143a4f11b240ed78900e4a57df5e9126f078f123e54ee7ddff38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for pyLQT 1.0.dev1

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