5b62ac044be8353759b4ce159f507e5f2b985157,tests/test_track.py,,test_track_ensemble,#Any#Any#,112
Before Change
temp_dir = tempfile.TemporaryDirectory()
recon_path = temp_dir.name + "/model_file.npy"
model, _ = track.reconstruction(conn_model, gtab, dwi_data, wm_in_dwi)
np.save(recon_path, model)
streamlines = track.track_ensemble(target_samples, atlas_data_wm_gm_int,
labels_im_file,
recon_path, sphere, directget, curv_thr_list, step_list,
After Change
with h5py.File(recon_path, "w") as hf:
hf.create_dataset("reconstruction",
data=model.astype("float32"))
hf.close()
streamlines = track.track_ensemble(target_samples, atlas_data_wm_gm_int,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: dPys/PyNets
Commit Name: 5b62ac044be8353759b4ce159f507e5f2b985157
Time: 2020-08-21
Author: dpisner@utexas.edu
File Name: tests/test_track.py
Class Name:
Method Name: test_track_ensemble
Project Name: dPys/PyNets
Commit Name: 5b62ac044be8353759b4ce159f507e5f2b985157
Time: 2020-08-21
Author: dpisner@utexas.edu
File Name: tests/test_track.py
Class Name:
Method Name: test_track_ensemble_particle
Project Name: nipy/dipy
Commit Name: 91b26429b62a0b085a9e0f96d84ef7bee786af45
Time: 2014-01-30
Author: matthieu.dumont@usherbrooke.ca
File Name: doc/examples/brain_extraction_dwi.py
Class Name:
Method Name: