[Camino-users] Fast way to count streamlines?

Ian Malone i.malone at ucl.ac.uk
Thu Aug 16 08:26:37 PDT 2012


You want the counttracts function:
cat tracts.Bfloat | counttracts
- you might need a more recent version of camino if you don't have this.

Peterson, Daniel wrote:
>
> Hi All,
>
>  
>
>    I just want to count the number of streamlines in a streamline 
> Bfloat file. I'm currently doing something like:
>
> cat streamline_file.Bfloat | float2txt 6 | wc --l > streamline_count.txt
>
>  
>
>   But it's taking very long -- I have a LOT of streamline files. Is 
> there a faster way? Is there some "end of streamline" symbol I can 
> binary grep for, rather than converting to text and counting lines?
>
>  
>
> Thanks so much,
>
> -Dan
>
>
> Disclaimer:
> The materials in this e-mail are private and may contain Protected 
> Information. Please note that e-mail communication is not encrypted by 
> default. You have the right to request further emails be encrypted by 
> notifying the sender. Your continued use of e-mail constitutes your 
> acknowledgment of these confidentiality and security limitations. If 
> you are not the intended recipient, be advised that any unauthorized 
> use, disclosure, copying, distribution, or the taking of any action in 
> reliance on the contents of this information is strictly prohibited. 
> If you have received this e-mail in error, please immediately notify 
> the sender via telephone or return e-mail.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Camino-users mailing list
> Camino-users at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/camino-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/camino-users/attachments/20120816/02d2a6cc/attachment-0001.html


More information about the Camino-users mailing list