.. _scil_tractogram_compute_density_map: scil_tractogram_compute_density_map =================================== :: usage: __main__.py [-h] [--binary [FIXED_VALUE]] [--endpoints_only] [--reference REFERENCE] [-v [{DEBUG,INFO,WARNING,ERROR}]] [-f] in_tractogram out_img Compute a density map from a streamlines file. Can be binary. This script correctly handles compressed streamlines. To get only a map of the endpoints, use option --endpoints_only. To get a separate map for the head and tail, see >> scil_bundle_compute_endpoints_map positional arguments: in_tractogram Tractogram filename. out_img path of the output image file. options: -h, --help show this help message and exit --binary [FIXED_VALUE] If set, will store the same value for all intersected voxels, creating a binary map.When set without a value, 1 is used (and dtype uint8). If a value is given, will be used as the stored value. --endpoints_only If set, will only use the endpoints. To get a head and a tail maps, see scil_bundle_compute_endpoints_map. --reference REFERENCE Reference anatomy for tck/vtk/fib/dpy file support (.nii or .nii.gz). -v [{DEBUG,INFO,WARNING,ERROR}] Produces verbose output depending on the provided level. Default level is warning, default when using -v is info. -f Force overwriting of the output files. 2.2.2