I am trying to estimate how many strealines are there in my .csv file, but when I calculate streamline counts it does not give all the streamlines that exist in my .tck file despite I ran tck2connectome with “-keep_unassigned” option.
I want to ask to professional MRtrix team, what is happening to missing streamlines?
tck2connectome -keep_unassigned -assignment_end_voxels -symmetric -zero_diagonal tracks_200k.tck coreg_hcpmmp.mif connectome_hcpmmp.csv -out_assignment assignments_hcpmmp.csv
But when I calculate the output with this code, I get the result of 240k. I am expecting to have 400k because there is 200k streamline in my .tck file
mrtrix_connectome = pd.read_csv(“path-to-connectome_hcpmmp.csv”, header=None)
total_sum = np.sum(np.sum(mrtrix_connectome)
print(“Total sum:”, total_sum)