Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added OLO to reorder_connectivity #630

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

frheault
Copy link
Member

@frheault frheault commented Oct 21, 2022

Add a new automatic ordering method (to go from sparse matrix to dense along the diagonal). This works best on thresholded matrices.

The OLO has to be computed on a single matrix (--optimal_leaf_ordering) and then apply to all others (--in_ordering).
The previous behavior still works. --in_ordering is still a text file with two rows of integers to do the indexing in X and then Y (supports non-square output)

The behavior for the output filename convention changed a bit, before if you called the script with:
scil_reorder_connectivity.py */*.npy --in_ordering config.txt --out_suffix _reo
it would create all the matrices with a suffix in the current folder, now they are saved with the suffix in their original folder. To mimic the previous behavior:
scil_reorder_connectivity.py */*.npy --in_ordering config.txt --out_suffix _reo --out_dir ./

image

@arnaudbore arnaudbore self-requested a review October 21, 2022 14:37
@arnaudbore
Copy link
Contributor

@arnaudbore
Copy link
Contributor

@frheault frheault changed the title Added reverse_cuthill_mckee to reorder_connectivity Added OLO to reorder_connectivity Oct 28, 2022
@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

@arnaudbore arnaudbore removed their request for review February 28, 2023 20:02
@arnaudbore arnaudbore merged commit 3b423e5 into scilus:master Feb 28, 2023
@frheault frheault deleted the add_rcm_ordering branch February 28, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants