# Error tckmap: cannot perform streamline mapping: no step size information in track file header

**URL:** <https://community.mrtrix.org/t/error-tckmap-cannot-perform-streamline-mapping-no-step-size-information-in-track-file-header/1514>\
**Category:** Uncategorized\
**Tags:** error\
**Created:** [March 9, 2018, 3:46pm UTC](https://community.mrtrix.org/t/error-tckmap-cannot-perform-streamline-mapping-no-step-size-information-in-track-file-header/1514 "2018-03-09T15:46:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rsmith](https://community.mrtrix.org/user_avatar/community.mrtrix.org/rsmith/32/2672_2.png) [@rsmith](https://community.mrtrix.org/u/rsmith)\
**Post date:** [March 13, 2018, 1:55am UTC](https://community.mrtrix.org/t/error-tckmap-cannot-perform-streamline-mapping-no-step-size-information-in-track-file-header/1514/2 "2018-03-13T01:55:16Z")

</div>

Hi Francesca,

When using a basic projection of streamlines onto a voxel grid, `tckmap` will typically increase the number of vertices along each streamline (“upsample”) before assigning each vertex to the voxel in which it resides. The granularity here must be appropriate based on the relationship between the tracking step size, and the voxel size: If the step size is large and the voxels are small, streamlines may “skip” over voxels that they should in fact contribute to, given they should be interpreted as continuous.

One way `tckmap` deals with this is by looking at the tracking step size in the track file header, and the voxel size of the output image, and determining this upsampling ratio automatically. However, if the step size information is not present in the track file header, `tckmap` is unable to perform this calculation, and hence provides the quoted error message.

I would advise running `tckinfo` on your track files (some where `tckmap` succeeded, some where it did not), and note the presence / absence of keys “`step_size`” and “`output_step_size`” in the header of different files. From there, you need to back-track through your data processing steps, and try to figure out which aspect of processing has resulted in the loss or corruption of this information for only some subjects.

Also: Note that if you update your _MRtrix3_ installation and re-compile, you should get a more instructive error message in this circumstance; specifically advocating use of the `-upsample` command-line option to set this upsampling ratio explicitly.

Cheers  
Rob

---

_[View the full topic](https://community.mrtrix.org/t/error-tckmap-cannot-perform-streamline-mapping-no-step-size-information-in-track-file-header/1514)._
