Using RecoBundles for bundle recognition#

For bundle recognition, pyAFQ defaults to use the waypoint ROI approach described in [Yeatman2012]. However, as an alternative approach, pyAFQ also supports using the RecoBundles algorithm [Garyfallidis2017], which uses an atlas of bundles in streamlines. This example shows how to use RecoBundles for bundle recognition.

The code closely resembles the code used in sphx_glr_tutorial_examples_plot_001-plot_afq_api.py.

import os.path as op
import AFQ.data.fetch as afd
from AFQ.api.group import GroupAFQ
import AFQ.api.bundle_dict as abd

afd.organize_stanford_data(clear_previous_afq="track")

tracking_params = dict(n_seeds=25000,
                       random_seeds=True,
                       rng_seed=42)

Defining the segmentation params#

We also refer to bundle recognition as the “segmentation” of the tractogram. Parameters of this process are set through a dictionary input to the segmentation_params argument of the GroupAFQ object. In this case, we use abd.reco_bd(16), which tells pyAFQ to use the RecoBundles algorithm for bundle recognition.

myafq = GroupAFQ(
    output_dir=op.join(afd.afq_home, 'stanford_hardi', 'derivatives',
                       'recobundles'),
    bids_path=op.join(afd.afq_home, 'stanford_hardi'),
    # Set the algorithm to use RecoBundles for bundle recognition:
    bundle_info=abd.reco_bd(16),
    preproc_pipeline='vistasoft',
    tracking_params=tracking_params,
    viz_backend_spec='plotly_no_gif')

fig_files = myafq.export_all()
  0%|          | 0/12916 [00:00<?, ? MB/s]
  0%|          | 5/12916 [00:00<05:41, 37.83 MB/s]
  0%|          | 19/12916 [00:00<02:46, 77.57 MB/s]
  1%|          | 76/12916 [00:00<00:53, 237.96 MB/s]
  2%|▏         | 307/12916 [00:00<00:15, 829.92 MB/s]
  5%|▌         | 652/12916 [00:00<00:08, 1464.37 MB/s]
  8%|▊         | 993/12916 [00:00<00:06, 1837.88 MB/s]
 10%|█         | 1338/12916 [00:00<00:05, 2054.02 MB/s]
 13%|█▎        | 1669/12916 [00:01<00:05, 2187.81 MB/s]
 15%|█▌        | 2001/12916 [00:01<00:04, 2282.27 MB/s]
 18%|█▊        | 2336/12916 [00:01<00:04, 2352.30 MB/s]
 21%|██        | 2679/12916 [00:01<00:04, 2421.36 MB/s]
 24%|██▎       | 3042/12916 [00:01<00:03, 2501.46 MB/s]
 26%|██▌       | 3371/12916 [00:01<00:03, 2490.49 MB/s]
 29%|██▉       | 3730/12916 [00:01<00:03, 2535.52 MB/s]
 32%|███▏      | 4088/12916 [00:02<00:03, 2582.21 MB/s]
 34%|███▍      | 4452/12916 [00:02<00:03, 2627.21 MB/s]
 37%|███▋      | 4809/12916 [00:02<00:03, 2641.89 MB/s]
 40%|████      | 5184/12916 [00:02<00:02, 2696.34 MB/s]
 43%|████▎     | 5538/12916 [00:02<00:02, 2683.44 MB/s]
 46%|████▌     | 5907/12916 [00:02<00:02, 2698.58 MB/s]
 49%|████▊     | 6270/12916 [00:02<00:02, 2706.33 MB/s]
 51%|█████▏    | 6630/12916 [00:02<00:02, 2706.75 MB/s]
 54%|█████▍    | 6994/12916 [00:03<00:02, 2715.45 MB/s]
 57%|█████▋    | 7356/12916 [00:03<00:02, 2712.87 MB/s]
 60%|█████▉    | 7707/12916 [00:03<00:01, 2686.86 MB/s]
 62%|██████▏   | 8044/12916 [00:03<00:01, 2728.22 MB/s]
 65%|██████▍   | 8345/12916 [00:03<00:01, 2734.76 MB/s]
 67%|██████▋   | 8619/12916 [00:03<00:01, 2673.49 MB/s]
 69%|██████▉   | 8938/12916 [00:03<00:01, 2597.22 MB/s]
 72%|███████▏  | 9297/12916 [00:03<00:01, 2854.41 MB/s]
 74%|███████▍  | 9587/12916 [00:04<00:01, 2790.26 MB/s]
 76%|███████▋  | 9869/12916 [00:04<00:01, 2607.35 MB/s]
 79%|███████▉  | 10217/12916 [00:04<00:01, 2624.12 MB/s]
 82%|████████▏ | 10553/12916 [00:04<00:00, 2815.54 MB/s]
 84%|████████▍ | 10839/12916 [00:04<00:00, 2753.76 MB/s]
 86%|████████▌ | 11128/12916 [00:04<00:00, 2719.32 MB/s]
 89%|████████▊ | 11433/12916 [00:04<00:00, 2724.16 MB/s]
 91%|█████████ | 11707/12916 [00:04<00:00, 2682.26 MB/s]
 93%|█████████▎| 11978/12916 [00:04<00:00, 2674.66 MB/s]
 95%|█████████▌| 12274/12916 [00:05<00:00, 2755.07 MB/s]
 97%|█████████▋| 12551/12916 [00:05<00:00, 2735.84 MB/s]
 99%|█████████▉| 12844/12916 [00:05<00:00, 2767.17 MB/s]
100%|██████████| 12916/12916 [00:05<00:00, 2457.71 MB/s]

  0%|          | 0/179864.0 [00:00<?, ?it/s]
  0%|          | 308/179864.0 [00:00<00:58, 3079.99it/s]
  0%|          | 740/179864.0 [00:00<00:47, 3808.34it/s]
  1%|          | 1180/179864.0 [00:00<00:43, 4077.51it/s]
  1%|          | 1616/179864.0 [00:00<00:42, 4184.49it/s]
  1%|          | 2042/179864.0 [00:00<00:42, 4208.46it/s]
  1%|▏         | 2481/179864.0 [00:00<00:41, 4269.64it/s]
  2%|▏         | 2929/179864.0 [00:00<00:40, 4336.18it/s]
  2%|▏         | 3379/179864.0 [00:00<00:40, 4384.73it/s]
  2%|▏         | 3832/179864.0 [00:00<00:39, 4426.92it/s]
  2%|▏         | 4275/179864.0 [00:01<00:39, 4403.45it/s]
  3%|▎         | 4726/179864.0 [00:01<00:39, 4432.34it/s]
  3%|▎         | 5176/179864.0 [00:01<00:39, 4452.53it/s]
  3%|▎         | 5622/179864.0 [00:01<00:39, 4392.94it/s]
  3%|▎         | 6062/179864.0 [00:01<00:39, 4382.92it/s]
  4%|▎         | 6518/179864.0 [00:01<00:39, 4433.64it/s]
  4%|▍         | 6978/179864.0 [00:01<00:38, 4468.33it/s]
  4%|▍         | 7425/179864.0 [00:01<00:38, 4460.13it/s]
  4%|▍         | 7895/179864.0 [00:01<00:37, 4528.12it/s]
  5%|▍         | 8366/179864.0 [00:01<00:37, 4578.38it/s]
  5%|▍         | 8824/179864.0 [00:02<00:38, 4494.54it/s]
  5%|▌         | 9281/179864.0 [00:02<00:37, 4514.74it/s]
  5%|▌         | 9741/179864.0 [00:02<00:37, 4538.84it/s]
  6%|▌         | 10214/179864.0 [00:02<00:36, 4595.29it/s]
  6%|▌         | 10674/179864.0 [00:02<00:38, 4405.45it/s]
  6%|▌         | 11117/179864.0 [00:02<00:38, 4381.37it/s]
  6%|▋         | 11590/179864.0 [00:02<00:37, 4482.40it/s]
  7%|▋         | 12051/179864.0 [00:02<00:37, 4517.77it/s]
  7%|▋         | 12522/179864.0 [00:02<00:36, 4571.17it/s]
  7%|▋         | 12980/179864.0 [00:02<00:36, 4519.98it/s]
  7%|▋         | 13433/179864.0 [00:03<00:37, 4493.13it/s]
  8%|▊         | 13909/179864.0 [00:03<00:36, 4571.77it/s]
  8%|▊         | 14390/179864.0 [00:03<00:35, 4639.34it/s]
  8%|▊         | 14860/179864.0 [00:03<00:35, 4656.12it/s]
  9%|▊         | 15326/179864.0 [00:03<00:35, 4608.55it/s]
  9%|▉         | 15788/179864.0 [00:03<00:35, 4559.89it/s]
  9%|▉         | 16275/179864.0 [00:03<00:35, 4650.36it/s]
  9%|▉         | 16760/179864.0 [00:03<00:34, 4708.88it/s]
 10%|▉         | 17237/179864.0 [00:03<00:34, 4725.29it/s]
 10%|▉         | 17710/179864.0 [00:03<00:34, 4637.30it/s]
 10%|█         | 18175/179864.0 [00:04<00:35, 4566.60it/s]
 10%|█         | 18645/179864.0 [00:04<00:35, 4604.78it/s]
 11%|█         | 19125/179864.0 [00:04<00:34, 4662.17it/s]
 11%|█         | 19592/179864.0 [00:04<00:34, 4655.97it/s]
 11%|█         | 20058/179864.0 [00:04<00:34, 4617.72it/s]
 11%|█▏        | 20520/179864.0 [00:04<00:34, 4570.40it/s]
 12%|█▏        | 20983/179864.0 [00:04<00:34, 4586.77it/s]
 12%|█▏        | 21475/179864.0 [00:04<00:33, 4683.44it/s]
 12%|█▏        | 21954/179864.0 [00:04<00:33, 4712.71it/s]
 12%|█▏        | 22433/179864.0 [00:04<00:33, 4733.79it/s]
 13%|█▎        | 22907/179864.0 [00:05<00:33, 4708.79it/s]
 13%|█▎        | 23378/179864.0 [00:05<00:33, 4634.17it/s]
 13%|█▎        | 23859/179864.0 [00:05<00:33, 4685.80it/s]
 14%|█▎        | 24354/179864.0 [00:05<00:32, 4762.18it/s]
 14%|█▍        | 24840/179864.0 [00:05<00:32, 4788.64it/s]
 14%|█▍        | 25320/179864.0 [00:05<00:32, 4776.61it/s]
 14%|█▍        | 25798/179864.0 [00:05<00:32, 4769.12it/s]
 15%|█▍        | 26276/179864.0 [00:05<00:32, 4658.83it/s]
 15%|█▍        | 26766/179864.0 [00:05<00:32, 4728.71it/s]
 15%|█▌        | 27249/179864.0 [00:05<00:32, 4754.61it/s]
 15%|█▌        | 27748/179864.0 [00:06<00:31, 4824.10it/s]
 16%|█▌        | 28233/179864.0 [00:06<00:31, 4831.15it/s]
 16%|█▌        | 28717/179864.0 [00:06<00:31, 4762.12it/s]
 16%|█▌        | 29194/179864.0 [00:06<00:31, 4715.96it/s]
 16%|█▋        | 29666/179864.0 [00:06<00:32, 4670.48it/s]
 17%|█▋        | 30154/179864.0 [00:06<00:31, 4731.13it/s]
 17%|█▋        | 30652/179864.0 [00:06<00:31, 4803.86it/s]
 17%|█▋        | 31138/179864.0 [00:06<00:30, 4818.64it/s]
 18%|█▊        | 31621/179864.0 [00:06<00:30, 4810.87it/s]
 18%|█▊        | 32103/179864.0 [00:07<00:31, 4751.33it/s]
 18%|█▊        | 32579/179864.0 [00:07<00:31, 4698.61it/s]
 18%|█▊        | 33050/179864.0 [00:07<00:31, 4691.75it/s]
 19%|█▊        | 33523/179864.0 [00:07<00:31, 4701.03it/s]
 19%|█▉        | 34011/179864.0 [00:07<00:30, 4751.10it/s]
 19%|█▉        | 34501/179864.0 [00:07<00:30, 4793.95it/s]
 19%|█▉        | 34981/179864.0 [00:07<00:30, 4758.44it/s]
 20%|█▉        | 35457/179864.0 [00:07<00:30, 4738.84it/s]
 20%|█▉        | 35931/179864.0 [00:07<00:30, 4695.56it/s]
 20%|██        | 36401/179864.0 [00:07<00:30, 4691.64it/s]
 21%|██        | 36897/179864.0 [00:08<00:29, 4770.24it/s]
 21%|██        | 37392/179864.0 [00:08<00:29, 4820.93it/s]
 21%|██        | 37883/179864.0 [00:08<00:29, 4847.42it/s]
 21%|██▏       | 38369/179864.0 [00:08<00:29, 4850.69it/s]
 22%|██▏       | 38855/179864.0 [00:08<00:29, 4775.93it/s]
 22%|██▏       | 39333/179864.0 [00:08<00:29, 4736.03it/s]
 22%|██▏       | 39807/179864.0 [00:08<00:29, 4720.61it/s]
 22%|██▏       | 40312/179864.0 [00:08<00:28, 4817.46it/s]
 23%|██▎       | 40811/179864.0 [00:08<00:28, 4867.14it/s]
 23%|██▎       | 41305/179864.0 [00:08<00:28, 4886.97it/s]
 23%|██▎       | 41794/179864.0 [00:09<00:28, 4860.73it/s]
 24%|██▎       | 42281/179864.0 [00:09<00:28, 4762.31it/s]
 24%|██▍       | 42758/179864.0 [00:09<00:28, 4759.31it/s]
 24%|██▍       | 43235/179864.0 [00:09<00:29, 4676.19it/s]
 24%|██▍       | 43742/179864.0 [00:09<00:28, 4790.09it/s]
 25%|██▍       | 44250/179864.0 [00:09<00:27, 4875.46it/s]
 25%|██▍       | 44739/179864.0 [00:09<00:28, 4761.04it/s]
 25%|██▌       | 45223/179864.0 [00:09<00:28, 4781.94it/s]
 25%|██▌       | 45702/179864.0 [00:09<00:28, 4680.78it/s]
 26%|██▌       | 46186/179864.0 [00:09<00:28, 4726.78it/s]
 26%|██▌       | 46693/179864.0 [00:10<00:27, 4826.06it/s]
 26%|██▌       | 47206/179864.0 [00:10<00:26, 4915.34it/s]
 27%|██▋       | 47720/179864.0 [00:10<00:26, 4980.59it/s]
 27%|██▋       | 48219/179864.0 [00:10<00:26, 4920.72it/s]
 27%|██▋       | 48712/179864.0 [00:10<00:26, 4894.54it/s]
 27%|██▋       | 49202/179864.0 [00:10<00:27, 4812.85it/s]
 28%|██▊       | 49684/179864.0 [00:10<00:27, 4745.39it/s]
 28%|██▊       | 50193/179864.0 [00:10<00:26, 4843.45it/s]
 28%|██▊       | 50704/179864.0 [00:10<00:26, 4919.81it/s]
 28%|██▊       | 51198/179864.0 [00:10<00:26, 4922.70it/s]
 29%|██▊       | 51691/179864.0 [00:11<00:26, 4874.63it/s]
 29%|██▉       | 52183/179864.0 [00:11<00:26, 4886.10it/s]
 29%|██▉       | 52672/179864.0 [00:11<00:26, 4808.08it/s]
 30%|██▉       | 53154/179864.0 [00:11<00:26, 4715.16it/s]
 30%|██▉       | 53652/179864.0 [00:11<00:26, 4791.58it/s]
 30%|███       | 54156/179864.0 [00:11<00:25, 4863.91it/s]
 30%|███       | 54656/179864.0 [00:11<00:25, 4904.09it/s]
 31%|███       | 55147/179864.0 [00:11<00:25, 4898.86it/s]
 31%|███       | 55640/179864.0 [00:11<00:25, 4907.38it/s]
 31%|███       | 56131/179864.0 [00:11<00:25, 4837.63it/s]
 31%|███▏      | 56616/179864.0 [00:12<00:25, 4755.85it/s]
 32%|███▏      | 57117/179864.0 [00:12<00:25, 4830.04it/s]
 32%|███▏      | 57637/179864.0 [00:12<00:24, 4936.70it/s]
 32%|███▏      | 58148/179864.0 [00:12<00:24, 4986.18it/s]
 33%|███▎      | 58659/179864.0 [00:12<00:24, 5021.03it/s]
 33%|███▎      | 59171/179864.0 [00:12<00:23, 5046.78it/s]
 33%|███▎      | 59676/179864.0 [00:12<00:24, 4896.92it/s]
 33%|███▎      | 60167/179864.0 [00:12<00:24, 4825.03it/s]
 34%|███▎      | 60671/179864.0 [00:12<00:24, 4885.93it/s]
 34%|███▍      | 61193/179864.0 [00:13<00:23, 4983.87it/s]
 34%|███▍      | 61720/179864.0 [00:13<00:23, 5066.78it/s]
 35%|███▍      | 62228/179864.0 [00:13<00:23, 5009.12it/s]
 35%|███▍      | 62740/179864.0 [00:13<00:23, 5040.66it/s]
 35%|███▌      | 63245/179864.0 [00:13<00:23, 4915.19it/s]
 35%|███▌      | 63738/179864.0 [00:13<00:24, 4832.31it/s]
 36%|███▌      | 64248/179864.0 [00:13<00:23, 4909.15it/s]
 36%|███▌      | 64749/179864.0 [00:13<00:23, 4933.46it/s]
 36%|███▋      | 65270/179864.0 [00:13<00:22, 5012.28it/s]
 37%|███▋      | 65772/179864.0 [00:13<00:22, 4992.97it/s]
 37%|███▋      | 66272/179864.0 [00:14<00:22, 4984.69it/s]
 37%|███▋      | 66771/179864.0 [00:14<00:23, 4841.98it/s]
 37%|███▋      | 67257/179864.0 [00:14<00:23, 4787.62it/s]
 38%|███▊      | 67744/179864.0 [00:14<00:23, 4808.68it/s]
 38%|███▊      | 68242/179864.0 [00:14<00:22, 4857.46it/s]
 38%|███▊      | 68742/179864.0 [00:14<00:22, 4896.69it/s]
 38%|███▊      | 69242/179864.0 [00:14<00:22, 4925.23it/s]
 39%|███▉      | 69735/179864.0 [00:14<00:23, 4783.37it/s]
 39%|███▉      | 70215/179864.0 [00:14<00:23, 4580.99it/s]
 39%|███▉      | 70676/179864.0 [00:14<00:24, 4479.11it/s]
 40%|███▉      | 71139/179864.0 [00:15<00:24, 4519.24it/s]
 40%|███▉      | 71634/179864.0 [00:15<00:23, 4642.81it/s]
 40%|████      | 72124/179864.0 [00:15<00:22, 4716.90it/s]
 40%|████      | 72613/179864.0 [00:15<00:22, 4766.36it/s]
 41%|████      | 73093/179864.0 [00:15<00:22, 4774.68it/s]
 41%|████      | 73572/179864.0 [00:15<00:22, 4716.76it/s]
 41%|████      | 74045/179864.0 [00:15<00:22, 4651.65it/s]
 41%|████▏     | 74513/179864.0 [00:15<00:22, 4657.98it/s]
 42%|████▏     | 75000/179864.0 [00:15<00:22, 4718.12it/s]
 42%|████▏     | 75491/179864.0 [00:16<00:21, 4773.54it/s]
 42%|████▏     | 75980/179864.0 [00:16<00:21, 4808.07it/s]
 43%|████▎     | 76465/179864.0 [00:16<00:21, 4819.62it/s]
 43%|████▎     | 76948/179864.0 [00:16<00:21, 4726.13it/s]
 43%|████▎     | 77422/179864.0 [00:16<00:22, 4629.51it/s]
 43%|████▎     | 77886/179864.0 [00:16<00:22, 4630.90it/s]
 44%|████▎     | 78390/179864.0 [00:16<00:21, 4749.83it/s]
 44%|████▍     | 78877/179864.0 [00:16<00:21, 4782.35it/s]
 44%|████▍     | 79356/179864.0 [00:16<00:21, 4783.73it/s]
 44%|████▍     | 79835/179864.0 [00:16<00:21, 4751.38it/s]
 45%|████▍     | 80311/179864.0 [00:17<00:21, 4701.78it/s]
 45%|████▍     | 80782/179864.0 [00:17<00:21, 4621.62it/s]
 45%|████▌     | 81245/179864.0 [00:17<00:21, 4587.45it/s]
 45%|████▌     | 81715/179864.0 [00:17<00:21, 4618.74it/s]
 46%|████▌     | 82198/179864.0 [00:17<00:20, 4680.72it/s]
 46%|████▌     | 82672/179864.0 [00:17<00:20, 4695.39it/s]
 46%|████▌     | 83142/179864.0 [00:17<00:20, 4647.38it/s]
 46%|████▋     | 83607/179864.0 [00:17<00:21, 4553.74it/s]
 47%|████▋     | 84092/179864.0 [00:17<00:20, 4637.51it/s]
 47%|████▋     | 84557/179864.0 [00:17<00:20, 4640.87it/s]
 47%|████▋     | 85029/179864.0 [00:18<00:20, 4662.71it/s]
 48%|████▊     | 85511/179864.0 [00:18<00:20, 4709.42it/s]
 48%|████▊     | 85983/179864.0 [00:18<00:19, 4699.72it/s]
 48%|████▊     | 86454/179864.0 [00:18<00:19, 4702.65it/s]
 48%|████▊     | 86925/179864.0 [00:18<00:20, 4608.10it/s]
 49%|████▊     | 87387/179864.0 [00:18<00:20, 4587.23it/s]
 49%|████▉     | 87847/179864.0 [00:18<00:20, 4528.53it/s]
 49%|████▉     | 88329/179864.0 [00:18<00:19, 4612.36it/s]
 49%|████▉     | 88791/179864.0 [00:18<00:19, 4593.24it/s]
 50%|████▉     | 89298/179864.0 [00:18<00:19, 4731.44it/s]
 50%|████▉     | 89797/179864.0 [00:19<00:18, 4805.11it/s]
 50%|█████     | 90278/179864.0 [00:19<00:18, 4756.89it/s]
 50%|█████     | 90754/179864.0 [00:19<00:19, 4684.05it/s]
 51%|█████     | 91223/179864.0 [00:19<00:19, 4625.21it/s]
 51%|█████     | 91686/179864.0 [00:19<00:19, 4559.55it/s]
 51%|█████     | 92174/179864.0 [00:19<00:18, 4652.60it/s]
 52%|█████▏    | 92666/179864.0 [00:19<00:18, 4728.30it/s]
 52%|█████▏    | 93148/179864.0 [00:19<00:18, 4754.18it/s]
 52%|█████▏    | 93629/179864.0 [00:19<00:18, 4770.24it/s]
 52%|█████▏    | 94107/179864.0 [00:19<00:18, 4751.94it/s]
 53%|█████▎    | 94583/179864.0 [00:20<00:18, 4698.20it/s]
 53%|█████▎    | 95054/179864.0 [00:20<00:18, 4657.71it/s]
 53%|█████▎    | 95526/179864.0 [00:20<00:18, 4673.42it/s]
 53%|█████▎    | 96012/179864.0 [00:20<00:17, 4728.30it/s]
 54%|█████▎    | 96486/179864.0 [00:20<00:17, 4729.55it/s]
 54%|█████▍    | 96960/179864.0 [00:20<00:17, 4710.19it/s]
 54%|█████▍    | 97432/179864.0 [00:20<00:17, 4647.46it/s]
 54%|█████▍    | 97897/179864.0 [00:20<00:17, 4584.96it/s]
 55%|█████▍    | 98356/179864.0 [00:20<00:17, 4554.64it/s]
 55%|█████▍    | 98812/179864.0 [00:21<00:17, 4543.14it/s]
 55%|█████▌    | 99303/179864.0 [00:21<00:17, 4647.52it/s]
 55%|█████▌    | 99787/179864.0 [00:21<00:17, 4703.11it/s]
 56%|█████▌    | 100273/179864.0 [00:21<00:16, 4747.75it/s]
 56%|█████▌    | 100748/179864.0 [00:21<00:16, 4741.14it/s]
 56%|█████▋    | 101223/179864.0 [00:21<00:17, 4591.56it/s]
 57%|█████▋    | 101688/179864.0 [00:21<00:16, 4607.63it/s]
 57%|█████▋    | 102152/179864.0 [00:21<00:16, 4616.86it/s]
 57%|█████▋    | 102636/179864.0 [00:21<00:16, 4680.51it/s]
 57%|█████▋    | 103127/179864.0 [00:21<00:16, 4747.86it/s]
 58%|█████▊    | 103608/179864.0 [00:22<00:16, 4763.33it/s]
 58%|█████▊    | 104097/179864.0 [00:22<00:15, 4800.29it/s]
 58%|█████▊    | 104578/179864.0 [00:22<00:15, 4705.65it/s]
 58%|█████▊    | 105050/179864.0 [00:22<00:15, 4676.22it/s]
 59%|█████▊    | 105519/179864.0 [00:22<00:15, 4654.75it/s]
 59%|█████▉    | 106004/179864.0 [00:22<00:15, 4711.66it/s]
 59%|█████▉    | 106500/179864.0 [00:22<00:15, 4783.99it/s]
 59%|█████▉    | 106993/179864.0 [00:22<00:15, 4825.17it/s]
 60%|█████▉    | 107476/179864.0 [00:22<00:15, 4815.35it/s]
 60%|██████    | 107958/179864.0 [00:22<00:14, 4811.53it/s]
 60%|██████    | 108440/179864.0 [00:23<00:15, 4757.81it/s]
 61%|██████    | 108916/179864.0 [00:23<00:14, 4729.88it/s]
 61%|██████    | 109410/179864.0 [00:23<00:14, 4791.76it/s]
 61%|██████    | 109915/179864.0 [00:23<00:14, 4864.97it/s]
 61%|██████▏   | 110409/179864.0 [00:23<00:14, 4886.97it/s]
 62%|██████▏   | 110902/179864.0 [00:23<00:14, 4898.24it/s]
 62%|██████▏   | 111404/179864.0 [00:23<00:13, 4931.49it/s]
 62%|██████▏   | 111898/179864.0 [00:23<00:13, 4882.59it/s]
 62%|██████▏   | 112387/179864.0 [00:23<00:14, 4818.70it/s]
 63%|██████▎   | 112870/179864.0 [00:23<00:13, 4789.58it/s]
 63%|██████▎   | 113370/179864.0 [00:24<00:13, 4851.10it/s]
 63%|██████▎   | 113883/179864.0 [00:24<00:13, 4933.39it/s]
 64%|██████▎   | 114377/179864.0 [00:24<00:13, 4933.99it/s]
 64%|██████▍   | 114871/179864.0 [00:24<00:13, 4926.01it/s]
 64%|██████▍   | 115364/179864.0 [00:24<00:13, 4891.06it/s]
 64%|██████▍   | 115854/179864.0 [00:24<00:13, 4862.55it/s]
 65%|██████▍   | 116347/179864.0 [00:24<00:13, 4881.47it/s]
 65%|██████▍   | 116846/179864.0 [00:24<00:12, 4912.53it/s]
 65%|██████▌   | 117350/179864.0 [00:24<00:12, 4950.41it/s]
 66%|██████▌   | 117846/179864.0 [00:24<00:12, 4822.08it/s]
 66%|██████▌   | 118366/179864.0 [00:25<00:12, 4931.58it/s]
 66%|██████▌   | 118860/179864.0 [00:25<00:12, 4892.65it/s]
 66%|██████▋   | 119350/179864.0 [00:25<00:12, 4892.18it/s]
 67%|██████▋   | 119852/179864.0 [00:25<00:12, 4927.90it/s]
 67%|██████▋   | 120375/179864.0 [00:25<00:11, 5015.73it/s]
 67%|██████▋   | 120877/179864.0 [00:25<00:11, 5000.81it/s]
 67%|██████▋   | 121379/179864.0 [00:25<00:11, 5004.88it/s]
 68%|██████▊   | 121899/179864.0 [00:25<00:11, 5062.74it/s]
 68%|██████▊   | 122406/179864.0 [00:25<00:11, 4947.90it/s]
 68%|██████▊   | 122902/179864.0 [00:25<00:11, 4836.35it/s]
 69%|██████▊   | 123393/179864.0 [00:26<00:11, 4857.27it/s]
 69%|██████▉   | 123908/179864.0 [00:26<00:11, 4941.06it/s]
 69%|██████▉   | 124412/179864.0 [00:26<00:11, 4969.28it/s]
 69%|██████▉   | 124918/179864.0 [00:26<00:10, 4995.22it/s]
 70%|██████▉   | 125418/179864.0 [00:26<00:10, 4983.98it/s]
 70%|███████   | 125917/179864.0 [00:26<00:11, 4897.29it/s]
 70%|███████   | 126409/179864.0 [00:26<00:10, 4899.29it/s]
 71%|███████   | 126923/179864.0 [00:26<00:10, 4970.44it/s]
 71%|███████   | 127446/179864.0 [00:26<00:10, 5046.75it/s]
 71%|███████   | 127951/179864.0 [00:26<00:10, 4977.82it/s]
 71%|███████▏  | 128450/179864.0 [00:27<00:10, 4793.51it/s]
 72%|███████▏  | 128940/179864.0 [00:27<00:10, 4822.47it/s]
 72%|███████▏  | 129424/179864.0 [00:27<00:10, 4759.25it/s]
 72%|███████▏  | 129911/179864.0 [00:27<00:10, 4790.34it/s]
 73%|███████▎  | 130411/179864.0 [00:27<00:10, 4850.05it/s]
 73%|███████▎  | 130921/179864.0 [00:27<00:09, 4921.09it/s]
 73%|███████▎  | 131414/179864.0 [00:27<00:09, 4919.97it/s]
 73%|███████▎  | 131907/179864.0 [00:27<00:09, 4913.24it/s]
 74%|███████▎  | 132399/179864.0 [00:27<00:09, 4838.15it/s]
 74%|███████▍  | 132884/179864.0 [00:28<00:09, 4729.21it/s]
 74%|███████▍  | 133358/179864.0 [00:28<00:09, 4728.36it/s]
 74%|███████▍  | 133848/179864.0 [00:28<00:09, 4777.94it/s]
 75%|███████▍  | 134337/179864.0 [00:28<00:09, 4810.53it/s]
 75%|███████▍  | 134825/179864.0 [00:28<00:09, 4828.54it/s]
 75%|███████▌  | 135316/179864.0 [00:28<00:09, 4852.78it/s]
 76%|███████▌  | 135802/179864.0 [00:28<00:09, 4807.53it/s]
 76%|███████▌  | 136283/179864.0 [00:28<00:09, 4703.16it/s]
 76%|███████▌  | 136761/179864.0 [00:28<00:09, 4725.11it/s]
 76%|███████▋  | 137234/179864.0 [00:29<00:18, 2326.50it/s]
 77%|███████▋  | 137726/179864.0 [00:29<00:15, 2772.08it/s]
 77%|███████▋  | 138217/179864.0 [00:29<00:13, 3192.91it/s]
 77%|███████▋  | 138691/179864.0 [00:29<00:11, 3532.19it/s]
 77%|███████▋  | 139136/179864.0 [00:29<00:10, 3749.45it/s]
 78%|███████▊  | 139579/179864.0 [00:29<00:10, 3911.41it/s]
 78%|███████▊  | 140053/179864.0 [00:29<00:09, 4130.98it/s]
 78%|███████▊  | 140560/179864.0 [00:29<00:08, 4387.55it/s]
 78%|███████▊  | 141046/179864.0 [00:30<00:08, 4518.66it/s]
 79%|███████▊  | 141537/179864.0 [00:30<00:08, 4629.69it/s]
 79%|███████▉  | 142016/179864.0 [00:30<00:08, 4668.87it/s]
 79%|███████▉  | 142494/179864.0 [00:30<00:08, 4592.05it/s]
 79%|███████▉  | 142963/179864.0 [00:30<00:07, 4618.93it/s]
 80%|███████▉  | 143447/179864.0 [00:30<00:07, 4679.83it/s]
 80%|████████  | 143946/179864.0 [00:30<00:07, 4769.59it/s]
 80%|████████  | 144451/179864.0 [00:30<00:07, 4852.67it/s]
 81%|████████  | 144940/179864.0 [00:30<00:07, 4862.45it/s]
 81%|████████  | 145428/179864.0 [00:31<00:07, 4790.86it/s]
 81%|████████  | 145909/179864.0 [00:31<00:07, 4760.53it/s]
 81%|████████▏ | 146409/179864.0 [00:31<00:06, 4828.47it/s]
 82%|████████▏ | 146898/179864.0 [00:31<00:06, 4846.45it/s]
 82%|████████▏ | 147397/179864.0 [00:31<00:06, 4888.98it/s]
 82%|████████▏ | 147887/179864.0 [00:31<00:06, 4862.12it/s]
 82%|████████▏ | 148374/179864.0 [00:31<00:06, 4841.15it/s]
 83%|████████▎ | 148859/179864.0 [00:31<00:06, 4756.32it/s]
 83%|████████▎ | 149354/179864.0 [00:31<00:06, 4812.76it/s]
 83%|████████▎ | 149839/179864.0 [00:31<00:06, 4823.14it/s]
 84%|████████▎ | 150329/179864.0 [00:32<00:06, 4844.69it/s]
 84%|████████▍ | 150814/179864.0 [00:32<00:05, 4844.29it/s]
 84%|████████▍ | 151299/179864.0 [00:32<00:05, 4766.17it/s]
 84%|████████▍ | 151776/179864.0 [00:32<00:05, 4733.02it/s]
 85%|████████▍ | 152256/179864.0 [00:32<00:05, 4751.78it/s]
 85%|████████▍ | 152735/179864.0 [00:32<00:05, 4760.54it/s]
 85%|████████▌ | 153218/179864.0 [00:32<00:05, 4780.83it/s]
 85%|████████▌ | 153697/179864.0 [00:32<00:05, 4760.90it/s]
 86%|████████▌ | 154174/179864.0 [00:32<00:05, 4710.84it/s]
 86%|████████▌ | 154646/179864.0 [00:32<00:05, 4624.50it/s]
 86%|████████▌ | 155114/179864.0 [00:33<00:05, 4640.26it/s]
 87%|████████▋ | 155595/179864.0 [00:33<00:05, 4690.26it/s]
 87%|████████▋ | 156070/179864.0 [00:33<00:05, 4705.71it/s]
 87%|████████▋ | 156541/179864.0 [00:33<00:04, 4693.48it/s]
 87%|████████▋ | 157011/179864.0 [00:33<00:04, 4668.22it/s]
 88%|████████▊ | 157478/179864.0 [00:33<00:04, 4572.34it/s]
 88%|████████▊ | 157943/179864.0 [00:33<00:04, 4593.85it/s]
 88%|████████▊ | 158435/179864.0 [00:33<00:04, 4687.16it/s]
 88%|████████▊ | 158926/179864.0 [00:33<00:04, 4750.32it/s]
 89%|████████▊ | 159402/179864.0 [00:33<00:04, 4693.12it/s]
 89%|████████▉ | 159872/179864.0 [00:34<00:04, 4609.50it/s]
 89%|████████▉ | 160334/179864.0 [00:34<00:04, 4535.28it/s]
 89%|████████▉ | 160802/179864.0 [00:34<00:04, 4577.32it/s]
 90%|████████▉ | 161287/179864.0 [00:34<00:03, 4657.41it/s]
 90%|████████▉ | 161756/179864.0 [00:34<00:03, 4664.75it/s]
 90%|█████████ | 162223/179864.0 [00:34<00:03, 4626.01it/s]
 90%|█████████ | 162686/179864.0 [00:34<00:03, 4537.22it/s]
 91%|█████████ | 163150/179864.0 [00:34<00:03, 4565.84it/s]
 91%|█████████ | 163624/179864.0 [00:34<00:03, 4614.86it/s]
 91%|█████████ | 164094/179864.0 [00:34<00:03, 4638.02it/s]
 91%|█████████▏| 164559/179864.0 [00:35<00:03, 4590.35it/s]
 92%|█████████▏| 165019/179864.0 [00:35<00:03, 4549.39it/s]
 92%|█████████▏| 165492/179864.0 [00:35<00:03, 4599.81it/s]
 92%|█████████▏| 165959/179864.0 [00:35<00:03, 4620.04it/s]
 93%|█████████▎| 166427/179864.0 [00:35<00:02, 4636.86it/s]
 93%|█████████▎| 166891/179864.0 [00:35<00:02, 4597.58it/s]
 93%|█████████▎| 167351/179864.0 [00:35<00:02, 4573.66it/s]
 93%|█████████▎| 167828/179864.0 [00:35<00:02, 4629.88it/s]
 94%|█████████▎| 168308/179864.0 [00:35<00:02, 4678.46it/s]
 94%|█████████▍| 168776/179864.0 [00:35<00:02, 4602.04it/s]
 94%|█████████▍| 169237/179864.0 [00:36<00:02, 4544.50it/s]
 94%|█████████▍| 169694/179864.0 [00:36<00:02, 4550.84it/s]
 95%|█████████▍| 170150/179864.0 [00:36<00:02, 4553.07it/s]
 95%|█████████▍| 170610/179864.0 [00:36<00:02, 4565.41it/s]
 95%|█████████▌| 171067/179864.0 [00:36<00:01, 4538.75it/s]
 95%|█████████▌| 171521/179864.0 [00:36<00:01, 4511.26it/s]
 96%|█████████▌| 171976/179864.0 [00:36<00:01, 4521.76it/s]
 96%|█████████▌| 172429/179864.0 [00:36<00:01, 4505.18it/s]
 96%|█████████▌| 172880/179864.0 [00:36<00:01, 4464.66it/s]
 96%|█████████▋| 173327/179864.0 [00:37<00:01, 4464.94it/s]
 97%|█████████▋| 173782/179864.0 [00:37<00:01, 4489.69it/s]
 97%|█████████▋| 174246/179864.0 [00:37<00:01, 4533.26it/s]
 97%|█████████▋| 174700/179864.0 [00:37<00:01, 4511.41it/s]
 97%|█████████▋| 175152/179864.0 [00:37<00:01, 4472.83it/s]
 98%|█████████▊| 175628/179864.0 [00:37<00:00, 4557.17it/s]
 98%|█████████▊| 176084/179864.0 [00:37<00:00, 4500.36it/s]
 98%|█████████▊| 176535/179864.0 [00:37<00:00, 4460.29it/s]
 98%|█████████▊| 176999/179864.0 [00:37<00:00, 4511.90it/s]
 99%|█████████▊| 177451/179864.0 [00:37<00:00, 4465.25it/s]
 99%|█████████▉| 177934/179864.0 [00:38<00:00, 4571.23it/s]
 99%|█████████▉| 178392/179864.0 [00:38<00:00, 4534.11it/s]
 99%|█████████▉| 178871/179864.0 [00:38<00:00, 4607.52it/s]
100%|█████████▉| 179351/179864.0 [00:38<00:00, 4663.98it/s]
100%|█████████▉| 179847/179864.0 [00:38<00:00, 4749.56it/s]
100%|██████████| 179864/179864.0 [00:38<00:00, 4679.08it/s]
Optimizing level 2 [max iter: 10000]
Optimizing level 1 [max iter: 1000]
Optimizing level 0 [max iter: 100]
Optimizing level 2 [max iter: 10000]
Optimizing level 1 [max iter: 1000]
Optimizing level 0 [max iter: 100]
Optimizing level 2 [max iter: 10000]
Optimizing level 1 [max iter: 1000]
Optimizing level 0 [max iter: 100]

0it [00:00, ?it/s]
20it [00:00, 196.97it/s]
44it [00:00, 218.32it/s]
68it [00:00, 226.67it/s]
91it [00:00, 222.66it/s]
114it [00:00, 224.59it/s]
137it [00:00, 220.92it/s]
160it [00:00, 222.09it/s]
184it [00:00, 226.06it/s]
207it [00:00, 219.10it/s]
229it [00:01, 213.00it/s]
255it [00:01, 224.43it/s]
279it [00:01, 228.60it/s]
302it [00:01, 218.90it/s]
324it [00:01, 216.16it/s]
346it [00:01, 214.20it/s]
373it [00:01, 229.63it/s]
397it [00:01, 226.32it/s]
424it [00:01, 237.29it/s]
448it [00:02, 225.31it/s]
472it [00:02, 226.59it/s]
495it [00:02, 219.55it/s]
519it [00:02, 225.09it/s]
542it [00:02, 213.34it/s]
567it [00:02, 222.22it/s]
590it [00:02, 214.48it/s]
614it [00:02, 220.75it/s]
637it [00:02, 221.23it/s]
662it [00:02, 225.84it/s]
687it [00:03, 231.60it/s]
711it [00:03, 230.95it/s]
735it [00:03, 230.35it/s]
759it [00:03, 228.75it/s]
787it [00:03, 242.00it/s]
812it [00:03, 244.04it/s]
837it [00:03, 236.46it/s]
862it [00:03, 237.09it/s]
886it [00:03, 221.65it/s]
914it [00:04, 234.95it/s]
938it [00:04, 230.73it/s]
962it [00:04, 224.44it/s]
985it [00:04, 215.93it/s]
1007it [00:04, 212.35it/s]
1031it [00:04, 217.86it/s]
1058it [00:04, 228.43it/s]
1083it [00:04, 234.51it/s]
1108it [00:04, 236.29it/s]
1136it [00:05, 245.73it/s]
1161it [00:05, 240.03it/s]
1186it [00:05, 224.54it/s]
1213it [00:05, 235.74it/s]
1237it [00:05, 232.58it/s]
1263it [00:05, 236.13it/s]
1287it [00:05, 228.90it/s]
1310it [00:05, 225.68it/s]
1333it [00:05, 221.58it/s]
1357it [00:05, 225.63it/s]
1380it [00:06, 225.19it/s]
1408it [00:06, 241.04it/s]
1433it [00:06, 240.37it/s]
1458it [00:06, 236.88it/s]
1482it [00:06, 232.73it/s]
1506it [00:06, 234.05it/s]
1530it [00:06, 234.70it/s]
1554it [00:06, 225.10it/s]
1579it [00:06, 231.04it/s]
1603it [00:07, 227.21it/s]
1627it [00:07, 228.02it/s]
1651it [00:07, 230.08it/s]
1682it [00:07, 250.37it/s]
1708it [00:07, 251.61it/s]
1734it [00:07, 252.04it/s]
1760it [00:07, 250.07it/s]
1786it [00:07, 236.90it/s]
1810it [00:07, 237.47it/s]
1834it [00:07, 235.67it/s]
1858it [00:08, 227.75it/s]
1885it [00:08, 238.70it/s]
1914it [00:08, 252.38it/s]
1940it [00:08, 232.10it/s]
1966it [00:08, 238.87it/s]
1992it [00:08, 244.18it/s]
2017it [00:08, 230.78it/s]
2041it [00:08, 225.63it/s]
2064it [00:08, 224.76it/s]
2090it [00:09, 231.32it/s]
2114it [00:09, 232.29it/s]
2139it [00:09, 236.46it/s]
2163it [00:09, 230.34it/s]
2188it [00:09, 234.36it/s]
2212it [00:09, 235.68it/s]
2236it [00:09, 230.37it/s]
2260it [00:09, 228.86it/s]
2289it [00:09, 244.12it/s]
2314it [00:10, 236.41it/s]
2338it [00:10, 232.38it/s]
2366it [00:10, 244.26it/s]
2391it [00:10, 244.23it/s]
2418it [00:10, 250.49it/s]
2444it [00:10, 245.14it/s]
2474it [00:10, 260.87it/s]
2501it [00:10, 243.33it/s]
2526it [00:10, 243.36it/s]
2552it [00:11, 246.70it/s]
2579it [00:11, 251.59it/s]
2605it [00:11, 238.63it/s]
2633it [00:11, 248.04it/s]
2659it [00:11, 246.35it/s]
2684it [00:11, 237.68it/s]
2708it [00:11, 234.93it/s]
2734it [00:11, 240.99it/s]
2764it [00:11, 253.75it/s]
2790it [00:11, 252.92it/s]
2816it [00:12, 244.12it/s]
2841it [00:12, 234.23it/s]
2865it [00:12, 231.83it/s]
2891it [00:12, 238.28it/s]
2915it [00:12, 232.55it/s]
2939it [00:12, 226.49it/s]
2964it [00:12, 230.35it/s]
2988it [00:12, 226.49it/s]
3013it [00:12, 233.07it/s]
3038it [00:13, 233.87it/s]
3062it [00:13, 221.94it/s]
3085it [00:13, 221.51it/s]
3108it [00:13, 220.41it/s]
3138it [00:13, 237.46it/s]
3163it [00:13, 240.69it/s]
3191it [00:13, 251.35it/s]
3217it [00:13, 247.62it/s]
3242it [00:13, 247.48it/s]
3270it [00:14, 253.57it/s]
3296it [00:14, 252.87it/s]
3322it [00:14, 244.87it/s]
3348it [00:14, 244.59it/s]
3376it [00:14, 254.22it/s]
3402it [00:14, 246.46it/s]
3427it [00:14, 239.23it/s]
3454it [00:14, 242.67it/s]
3479it [00:14, 243.34it/s]
3504it [00:14, 235.98it/s]
3528it [00:15, 230.82it/s]
3554it [00:15, 234.67it/s]
3578it [00:15, 235.66it/s]
3602it [00:15, 229.83it/s]
3627it [00:15, 233.77it/s]
3651it [00:15, 229.51it/s]
3676it [00:15, 233.66it/s]
3700it [00:15, 234.60it/s]
3724it [00:15, 230.93it/s]
3750it [00:16, 238.62it/s]
3774it [00:16, 228.33it/s]
3797it [00:16, 223.48it/s]
3821it [00:16, 226.73it/s]
3844it [00:16, 224.29it/s]
3869it [00:16, 230.31it/s]
3896it [00:16, 238.80it/s]
3920it [00:16, 225.84it/s]
3944it [00:16, 228.38it/s]
3968it [00:16, 230.02it/s]
3993it [00:17, 235.65it/s]
4021it [00:17, 244.51it/s]
4046it [00:17, 227.67it/s]
4072it [00:17, 235.40it/s]
4096it [00:17, 225.37it/s]
4119it [00:17, 220.44it/s]
4147it [00:17, 236.99it/s]
4174it [00:17, 242.09it/s]
4199it [00:17, 242.36it/s]
4224it [00:18, 238.61it/s]
4251it [00:18, 242.87it/s]
4276it [00:18, 242.86it/s]
4303it [00:18, 250.12it/s]
4329it [00:18, 241.31it/s]
4354it [00:18, 239.87it/s]
4379it [00:18, 235.24it/s]
4405it [00:18, 239.78it/s]
4430it [00:18, 232.96it/s]
4454it [00:19, 225.42it/s]
4477it [00:19, 224.42it/s]
4502it [00:19, 228.19it/s]
4527it [00:19, 233.42it/s]
4551it [00:19, 233.09it/s]
4575it [00:19, 228.36it/s]
4598it [00:19, 221.07it/s]
4621it [00:19, 217.48it/s]
4643it [00:19, 212.58it/s]
4668it [00:20, 222.30it/s]
4691it [00:20, 208.92it/s]
4717it [00:20, 222.66it/s]
4742it [00:20, 227.51it/s]
4765it [00:20, 225.63it/s]
4788it [00:20, 216.49it/s]
4812it [00:20, 221.64it/s]
4838it [00:20, 231.79it/s]
4865it [00:20, 240.66it/s]
4890it [00:20, 232.60it/s]
4914it [00:21, 231.80it/s]
4938it [00:21, 230.42it/s]
4962it [00:21, 225.69it/s]
4985it [00:21, 217.98it/s]
5009it [00:21, 222.19it/s]
5036it [00:21, 235.39it/s]
5065it [00:21, 249.25it/s]
5091it [00:21, 245.29it/s]
5116it [00:21, 246.06it/s]
5141it [00:22, 234.85it/s]
5167it [00:22, 239.94it/s]
5192it [00:22, 234.50it/s]
5216it [00:22, 228.48it/s]
5241it [00:22, 233.74it/s]
5266it [00:22, 237.26it/s]
5290it [00:22, 231.14it/s]
5318it [00:22, 244.24it/s]
5349it [00:22, 255.71it/s]
5375it [00:23, 241.12it/s]
5400it [00:23, 239.41it/s]
5425it [00:23, 234.10it/s]
5449it [00:23, 225.39it/s]
5473it [00:23, 227.47it/s]
5499it [00:23, 233.75it/s]
5524it [00:23, 237.16it/s]
5548it [00:23, 233.75it/s]
5573it [00:23, 238.27it/s]
5597it [00:23, 234.10it/s]
5621it [00:24, 231.96it/s]
5645it [00:24, 232.70it/s]
5669it [00:24, 228.14it/s]
5692it [00:24, 223.57it/s]
5718it [00:24, 232.82it/s]
5743it [00:24, 231.58it/s]
5767it [00:24, 231.14it/s]
5792it [00:24, 236.52it/s]
5817it [00:24, 238.30it/s]
5843it [00:25, 243.58it/s]
5871it [00:25, 252.17it/s]
5897it [00:25, 246.02it/s]
5922it [00:25, 239.01it/s]
5946it [00:25, 233.85it/s]
5972it [00:25, 239.15it/s]
5996it [00:25, 236.75it/s]
6020it [00:25, 225.98it/s]
6043it [00:25, 224.72it/s]
6066it [00:26, 216.86it/s]
6093it [00:26, 228.32it/s]
6116it [00:26, 221.21it/s]
6142it [00:26, 231.08it/s]
6167it [00:26, 234.85it/s]
6195it [00:26, 246.21it/s]
6220it [00:26, 228.94it/s]
6244it [00:26, 226.31it/s]
6268it [00:26, 224.80it/s]
6298it [00:26, 241.87it/s]
6325it [00:27, 244.16it/s]
6350it [00:27, 234.41it/s]
6376it [00:27, 240.69it/s]
6401it [00:27, 220.36it/s]
6426it [00:27, 227.17it/s]
6451it [00:27, 233.01it/s]
6475it [00:27, 231.62it/s]
6499it [00:27, 227.29it/s]
6525it [00:27, 235.69it/s]
6549it [00:28, 232.96it/s]
6575it [00:28, 237.43it/s]
6599it [00:28, 223.50it/s]
6622it [00:28, 215.80it/s]
6645it [00:28, 216.49it/s]
6669it [00:28, 221.23it/s]
6699it [00:28, 240.25it/s]
6724it [00:28, 238.63it/s]
6748it [00:28, 233.70it/s]
6773it [00:29, 235.19it/s]
6802it [00:29, 248.98it/s]
6827it [00:29, 242.44it/s]
6852it [00:29, 237.32it/s]
6876it [00:29, 234.97it/s]
6902it [00:29, 241.80it/s]
6927it [00:29, 236.65it/s]
6951it [00:29, 221.17it/s]
6974it [00:29, 212.18it/s]
6997it [00:30, 215.27it/s]
7023it [00:30, 225.27it/s]
7049it [00:30, 229.32it/s]
7073it [00:30, 228.91it/s]
7099it [00:30, 235.26it/s]
7123it [00:30, 230.19it/s]
7147it [00:30, 232.83it/s]
7174it [00:30, 241.87it/s]
7202it [00:30, 248.98it/s]
7228it [00:30, 250.00it/s]
7255it [00:31, 252.55it/s]
7281it [00:31, 248.99it/s]
7306it [00:31, 236.28it/s]
7330it [00:31, 232.59it/s]
7354it [00:31, 229.48it/s]
7378it [00:31, 231.80it/s]
7402it [00:31, 228.19it/s]
7427it [00:31, 233.65it/s]
7451it [00:31, 231.03it/s]
7475it [00:32, 229.89it/s]
7499it [00:32, 227.25it/s]
7523it [00:32, 228.38it/s]
7547it [00:32, 231.15it/s]
7571it [00:32, 231.84it/s]
7595it [00:32, 234.01it/s]
7622it [00:32, 242.89it/s]
7650it [00:32, 251.04it/s]
7676it [00:32, 234.59it/s]
7702it [00:33, 239.34it/s]
7727it [00:33, 232.43it/s]
7751it [00:33, 231.02it/s]
7775it [00:33, 221.29it/s]
7799it [00:33, 224.23it/s]
7822it [00:33, 224.42it/s]
7850it [00:33, 236.08it/s]
7875it [00:33, 238.30it/s]
7899it [00:33, 232.84it/s]
7923it [00:34, 213.91it/s]
7947it [00:34, 220.99it/s]
7971it [00:34, 223.25it/s]
8001it [00:34, 244.18it/s]
8026it [00:34, 233.66it/s]
8052it [00:34, 238.45it/s]
8077it [00:34, 228.89it/s]
8108it [00:34, 250.22it/s]
8134it [00:34, 251.58it/s]
8161it [00:34, 254.48it/s]
8187it [00:35, 250.42it/s]
8213it [00:35, 246.14it/s]
8238it [00:35, 245.04it/s]
8264it [00:35, 247.20it/s]
8289it [00:35, 232.66it/s]
8313it [00:35, 232.83it/s]
8337it [00:35, 233.99it/s]
8364it [00:35, 242.57it/s]
8389it [00:35, 238.17it/s]
8413it [00:36, 237.77it/s]
8437it [00:36, 236.50it/s]
8461it [00:36, 229.96it/s]
8486it [00:36, 235.07it/s]
8512it [00:36, 240.70it/s]
8539it [00:36, 246.17it/s]
8564it [00:36, 244.46it/s]
8591it [00:36, 248.85it/s]
8621it [00:36, 260.96it/s]
8648it [00:36, 250.95it/s]
8674it [00:37, 244.66it/s]
8699it [00:37, 236.04it/s]
8724it [00:37, 237.03it/s]
8748it [00:37, 228.76it/s]
8771it [00:37, 228.72it/s]
8800it [00:37, 245.07it/s]
8826it [00:37, 247.76it/s]
8851it [00:37, 227.80it/s]
8875it [00:37, 229.23it/s]
8899it [00:38, 222.95it/s]
8925it [00:38, 232.69it/s]
8949it [00:38, 219.47it/s]
8972it [00:38, 216.53it/s]
8999it [00:38, 230.86it/s]
9025it [00:38, 237.81it/s]
9049it [00:38, 234.95it/s]
9073it [00:38, 220.20it/s]
9096it [00:38, 222.66it/s]
9120it [00:39, 225.08it/s]
9143it [00:39, 214.87it/s]
9168it [00:39, 222.84it/s]
9195it [00:39, 235.06it/s]
9220it [00:39, 238.36it/s]
9248it [00:39, 247.24it/s]
9273it [00:39, 232.82it/s]
9299it [00:39, 240.00it/s]
9328it [00:39, 250.08it/s]
9354it [00:40, 242.94it/s]
9379it [00:40, 241.05it/s]
9406it [00:40, 247.28it/s]
9435it [00:40, 257.57it/s]
9461it [00:40, 253.05it/s]
9487it [00:40, 241.98it/s]
9512it [00:40, 236.75it/s]
9536it [00:40, 234.27it/s]
9560it [00:40, 232.48it/s]
9584it [00:40, 225.85it/s]
9609it [00:41, 231.71it/s]
9633it [00:41, 229.45it/s]
9662it [00:41, 243.90it/s]
9687it [00:41, 232.02it/s]
9711it [00:41, 226.10it/s]
9735it [00:41, 229.24it/s]
9762it [00:41, 240.33it/s]
9787it [00:41, 231.26it/s]
9812it [00:41, 230.67it/s]
9836it [00:42, 231.09it/s]
9860it [00:42, 230.68it/s]
9884it [00:42, 223.54it/s]
9908it [00:42, 226.05it/s]
9931it [00:42, 221.61it/s]
9954it [00:42, 219.11it/s]
9977it [00:42, 220.62it/s]
10004it [00:42, 233.74it/s]
10028it [00:42, 227.56it/s]
10054it [00:43, 232.98it/s]
10078it [00:43, 234.16it/s]
10103it [00:43, 238.69it/s]
10134it [00:43, 255.55it/s]
10160it [00:43, 242.49it/s]
10186it [00:43, 245.72it/s]
10211it [00:43, 239.33it/s]
10236it [00:43, 231.09it/s]
10260it [00:43, 231.48it/s]
10284it [00:44, 229.37it/s]
10314it [00:44, 248.50it/s]
10339it [00:44, 230.30it/s]
10363it [00:44, 227.62it/s]
10389it [00:44, 235.27it/s]
10413it [00:44, 236.26it/s]
10442it [00:44, 251.27it/s]
10468it [00:44, 249.04it/s]
10494it [00:44, 245.35it/s]
10519it [00:44, 236.50it/s]
10544it [00:45, 239.01it/s]
10570it [00:45, 242.72it/s]
10597it [00:45, 249.26it/s]
10622it [00:45, 241.00it/s]
10647it [00:45, 239.28it/s]
10671it [00:45, 239.01it/s]
10697it [00:45, 244.67it/s]
10722it [00:45, 233.61it/s]
10746it [00:45, 233.95it/s]
10770it [00:46, 230.93it/s]
10795it [00:46, 235.18it/s]
10819it [00:46, 233.36it/s]
10843it [00:46, 231.16it/s]
10867it [00:46, 229.49it/s]
10894it [00:46, 240.54it/s]
10919it [00:46, 224.58it/s]
10944it [00:46, 230.27it/s]
10968it [00:46, 220.00it/s]
10991it [00:47, 221.41it/s]
11014it [00:47, 222.17it/s]
11039it [00:47, 227.99it/s]
11063it [00:47, 228.57it/s]
11088it [00:47, 229.07it/s]
11111it [00:47, 225.90it/s]
11134it [00:47, 222.03it/s]
11160it [00:47, 232.34it/s]
11184it [00:47, 232.45it/s]
11208it [00:47, 221.26it/s]
11231it [00:48, 223.58it/s]
11255it [00:48, 227.10it/s]
11279it [00:48, 229.70it/s]
11303it [00:48, 228.26it/s]
11332it [00:48, 245.89it/s]
11357it [00:48, 233.76it/s]
11383it [00:48, 238.03it/s]
11411it [00:48, 247.49it/s]
11437it [00:48, 250.70it/s]
11463it [00:49, 246.83it/s]
11488it [00:49, 240.12it/s]
11513it [00:49, 238.93it/s]
11537it [00:49, 233.56it/s]
11562it [00:49, 231.39it/s]
11588it [00:49, 235.97it/s]
11614it [00:49, 237.51it/s]
11638it [00:49, 225.09it/s]
11664it [00:49, 233.47it/s]
11688it [00:49, 231.71it/s]
11712it [00:50, 231.87it/s]
11736it [00:50, 230.70it/s]
11760it [00:50, 229.09it/s]
11783it [00:50, 221.63it/s]
11806it [00:50, 218.88it/s]
11831it [00:50, 224.50it/s]
11856it [00:50, 225.73it/s]
11882it [00:50, 234.38it/s]
11910it [00:50, 246.58it/s]
11935it [00:51, 239.10it/s]
11960it [00:51, 240.65it/s]
11986it [00:51, 243.56it/s]
12011it [00:51, 232.76it/s]
12035it [00:51, 216.89it/s]
12057it [00:51, 213.75it/s]
12082it [00:51, 221.90it/s]
12109it [00:51, 233.46it/s]
12133it [00:51, 221.66it/s]
12156it [00:52, 223.32it/s]
12179it [00:52, 223.55it/s]
12202it [00:52, 208.43it/s]
12225it [00:52, 213.72it/s]
12250it [00:52, 218.97it/s]
12274it [00:52, 222.51it/s]
12299it [00:52, 230.24it/s]
12323it [00:52, 217.10it/s]
12347it [00:52, 222.38it/s]
12370it [00:53, 216.10it/s]
12394it [00:53, 221.50it/s]
12417it [00:53, 221.16it/s]
12443it [00:53, 230.19it/s]
12467it [00:53, 213.46it/s]
12490it [00:53, 216.82it/s]
12516it [00:53, 226.26it/s]
12539it [00:53, 213.99it/s]
12572it [00:53, 240.12it/s]
12597it [00:54, 239.86it/s]
12622it [00:54, 240.71it/s]
12650it [00:54, 245.62it/s]
12675it [00:54, 234.09it/s]
12699it [00:54, 234.22it/s]
12724it [00:54, 237.68it/s]
12748it [00:54, 234.74it/s]
12772it [00:54, 232.54it/s]
12796it [00:54, 223.80it/s]
12819it [00:54, 223.45it/s]
12848it [00:55, 240.12it/s]
12873it [00:55, 231.50it/s]
12898it [00:55, 234.13it/s]
12922it [00:55, 232.93it/s]
12948it [00:55, 239.91it/s]
12973it [00:55, 240.61it/s]
12998it [00:55, 232.32it/s]
13022it [00:55, 226.72it/s]
13045it [00:55, 219.24it/s]
13071it [00:56, 229.88it/s]
13096it [00:56, 227.92it/s]
13119it [00:56, 227.66it/s]
13147it [00:56, 241.56it/s]
13172it [00:56, 239.20it/s]
13196it [00:56, 229.69it/s]
13220it [00:56, 228.53it/s]
13243it [00:56, 228.79it/s]
13266it [00:56, 225.10it/s]
13289it [00:57, 220.39it/s]
13314it [00:57, 227.48it/s]
13343it [00:57, 243.93it/s]
13371it [00:57, 251.63it/s]
13397it [00:57, 248.25it/s]
13422it [00:57, 240.17it/s]
13447it [00:57, 240.38it/s]
13472it [00:57, 238.67it/s]
13496it [00:57, 234.78it/s]
13522it [00:57, 239.38it/s]
13546it [00:58, 216.57it/s]
13572it [00:58, 227.80it/s]
13596it [00:58, 217.17it/s]
13620it [00:58, 221.35it/s]
13645it [00:58, 228.71it/s]
13670it [00:58, 233.75it/s]
13695it [00:58, 238.15it/s]
13719it [00:58, 232.28it/s]
13743it [00:58, 230.57it/s]
13768it [00:59, 236.10it/s]
13794it [00:59, 240.75it/s]
13820it [00:59, 243.96it/s]
13845it [00:59, 242.08it/s]
13871it [00:59, 246.14it/s]
13896it [00:59, 234.15it/s]
13920it [00:59, 228.60it/s]
13943it [00:59, 227.22it/s]
13967it [00:59, 228.99it/s]
13992it [00:59, 231.15it/s]
14019it [01:00, 240.04it/s]
14046it [01:00, 246.22it/s]
14074it [01:00, 254.97it/s]
14100it [01:00, 254.27it/s]
14126it [01:00, 247.52it/s]
14151it [01:00, 236.88it/s]
14175it [01:00, 234.42it/s]
14200it [01:00, 238.72it/s]
14225it [01:00, 240.70it/s]
14251it [01:01, 242.24it/s]
14277it [01:01, 246.07it/s]
14303it [01:01, 248.57it/s]
14328it [01:01, 242.50it/s]
14354it [01:01, 245.47it/s]
14379it [01:01, 242.18it/s]
14404it [01:01, 236.09it/s]
14428it [01:01, 232.42it/s]
14452it [01:01, 216.92it/s]
14476it [01:02, 223.08it/s]
14499it [01:02, 223.78it/s]
14525it [01:02, 232.83it/s]
14550it [01:02, 237.41it/s]
14574it [01:02, 232.50it/s]
14598it [01:02, 224.31it/s]
14621it [01:02, 221.49it/s]
14648it [01:02, 234.99it/s]
14672it [01:02, 228.00it/s]
14700it [01:02, 237.76it/s]
14724it [01:03, 231.31it/s]
14748it [01:03, 233.63it/s]
14776it [01:03, 245.33it/s]
14802it [01:03, 246.77it/s]
14827it [01:03, 244.81it/s]
14852it [01:03, 234.44it/s]
14876it [01:03, 226.47it/s]
14901it [01:03, 225.34it/s]
14924it [01:03, 225.12it/s]
14947it [01:04, 211.03it/s]
14970it [01:04, 216.07it/s]
14998it [01:04, 233.03it/s]
15022it [01:04, 234.88it/s]
15046it [01:04, 232.02it/s]
15071it [01:04, 236.67it/s]
15095it [01:04, 224.08it/s]
15118it [01:04, 219.27it/s]
15142it [01:04, 222.98it/s]
15169it [01:05, 235.91it/s]
15195it [01:05, 234.04it/s]
15220it [01:05, 236.98it/s]
15248it [01:05, 248.19it/s]
15274it [01:05, 247.94it/s]
15299it [01:05, 234.77it/s]
15325it [01:05, 240.75it/s]
15350it [01:05, 231.70it/s]
15374it [01:05, 229.01it/s]
15398it [01:06, 216.51it/s]
15423it [01:06, 224.47it/s]
15450it [01:06, 235.44it/s]
15474it [01:06, 233.81it/s]
15498it [01:06, 235.37it/s]
15522it [01:06, 224.21it/s]
15545it [01:06, 225.13it/s]
15570it [01:06, 231.01it/s]
15594it [01:06, 228.15it/s]
15617it [01:06, 227.73it/s]
15640it [01:07, 226.42it/s]
15663it [01:07, 222.03it/s]
15687it [01:07, 225.36it/s]
15712it [01:07, 229.54it/s]
15735it [01:07, 225.08it/s]
15758it [01:07, 225.39it/s]
15781it [01:07, 225.52it/s]
15807it [01:07, 232.64it/s]
15831it [01:07, 225.82it/s]
15855it [01:08, 226.42it/s]
15879it [01:08, 226.06it/s]
15902it [01:08, 216.37it/s]
15925it [01:08, 220.17it/s]
15948it [01:08, 215.03it/s]
15971it [01:08, 216.41it/s]
15994it [01:08, 218.19it/s]
16016it [01:08, 216.16it/s]
16038it [01:08, 212.73it/s]
16062it [01:08, 219.54it/s]
16084it [01:09, 217.86it/s]
16113it [01:09, 236.31it/s]
16139it [01:09, 240.65it/s]
16164it [01:09, 232.21it/s]
16188it [01:09, 227.71it/s]
16211it [01:09, 221.47it/s]
16234it [01:09, 216.06it/s]
16256it [01:09, 215.34it/s]
16278it [01:09, 216.03it/s]
16305it [01:10, 229.35it/s]
16329it [01:10, 231.48it/s]
16356it [01:10, 240.27it/s]
16382it [01:10, 244.00it/s]
16407it [01:10, 231.49it/s]
16434it [01:10, 239.73it/s]
16459it [01:10, 229.16it/s]
16487it [01:10, 243.17it/s]
16512it [01:10, 235.15it/s]
16538it [01:11, 240.64it/s]
16563it [01:11, 242.17it/s]
16588it [01:11, 243.40it/s]
16613it [01:11, 235.68it/s]
16637it [01:11, 213.72it/s]
16662it [01:11, 222.42it/s]
16687it [01:11, 228.07it/s]
16711it [01:11, 228.19it/s]
16735it [01:11, 215.70it/s]
16763it [01:11, 232.25it/s]
16788it [01:12, 236.70it/s]
16812it [01:12, 236.84it/s]
16836it [01:12, 237.14it/s]
16865it [01:12, 251.05it/s]
16891it [01:12, 243.33it/s]
16916it [01:12, 239.03it/s]
16940it [01:12, 238.31it/s]
16964it [01:12, 237.30it/s]
16988it [01:12, 228.72it/s]
17011it [01:13, 228.93it/s]
17037it [01:13, 237.51it/s]
17061it [01:13, 203.30it/s]
17084it [01:13, 208.85it/s]
17112it [01:13, 227.01it/s]
17139it [01:13, 236.24it/s]
17164it [01:13, 222.97it/s]
17190it [01:13, 232.27it/s]
17214it [01:13, 224.87it/s]
17241it [01:14, 236.34it/s]
17265it [01:14, 234.19it/s]
17289it [01:14, 233.02it/s]
17317it [01:14, 244.43it/s]
17344it [01:14, 249.74it/s]
17370it [01:14, 244.18it/s]
17396it [01:14, 242.35it/s]
17424it [01:14, 251.45it/s]
17450it [01:14, 234.88it/s]
17474it [01:15, 230.06it/s]
17498it [01:15, 229.99it/s]
17524it [01:15, 237.98it/s]
17548it [01:15, 234.64it/s]
17574it [01:15, 240.87it/s]
17601it [01:15, 247.25it/s]
17626it [01:15, 235.87it/s]
17650it [01:15, 235.75it/s]
17674it [01:15, 235.95it/s]
17703it [01:15, 251.26it/s]
17729it [01:16, 243.84it/s]
17754it [01:16, 232.43it/s]
17779it [01:16, 234.62it/s]
17804it [01:16, 236.74it/s]
17831it [01:16, 246.22it/s]
17857it [01:16, 249.81it/s]
17884it [01:16, 254.87it/s]
17910it [01:16, 246.36it/s]
17935it [01:16, 244.33it/s]
17937it [01:16, 233.14it/s]
/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/AFQ/recognition/utils.py:92: UserWarning:

Streamlines do not have the same number of points. All streamlines need to have the same number of points. Use dipy.tracking.streamline.set_number_of_points to adjust your streamlines


  0%|          | 0/16 [00:00<?, ?it/s]
 31%|███▏      | 5/16 [00:00<00:00, 44.81it/s]
 69%|██████▉   | 11/16 [00:00<00:00, 51.05it/s]
100%|██████████| 16/16 [00:00<00:00, 52.02it/s]

  0%|          | 0/16 [00:00<?, ?it/s]
 31%|███▏      | 5/16 [00:00<00:00, 45.95it/s]
 69%|██████▉   | 11/16 [00:00<00:00, 51.54it/s]
100%|██████████| 16/16 [00:00<00:00, 52.93it/s]

References:#

Garyfallidis2017

Garyfallidis, Eleftherios, Marc-Alexandre Côté, Francois Rheault, Jasmeen Sidhu, Janice Hau, Laurent Petit, David Fortin, Stephen Cunanne, and Maxime Descoteaux. 2017.“Recognition of White Matter Bundles Using Local and Global Streamline-Based Registration and Clustering.”NeuroImage 170: 283-295.

Total running time of the script: (15 minutes 48.301 seconds)

Estimated memory usage: 2556 MB

Gallery generated by Sphinx-Gallery