ismrmrd_generate_cartesian_shepp_logan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ismrmrd_generate_cartesian_shepp_logan: command not found
or when using sudo you get the following error message
sudo: ismrmrd_generate_cartesian_shepp_logan: command not found
Solutions to ismrmrd_generate_cartesian_shepp_logan: command not found
How To Fix ismrmrd_generate_cartesian_shepp_logan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ismrmrd_generate_cartesian_shepp_logan is provided by ismrmrd-tools package.
ismrmrd-tools is:
The ISMRMRD format combines a mix of flexible data structures (XML header) and fixed structures (equivalent to C-structs) to represent MRI data.
In addition, the ISMRMRD format also specifies an image header for storing reconstructed images and the accompanying C++ library provides a convenient way of writing such images into HDF5 files along with generic arrays for storing less well defined data structures, e.g. coil sensitivity maps or other calibration data.
This package provides the command-line tools.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ismrmrd-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ismrmrd-tools.
sudo apt -y install ismrmrd-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install ismrmrd-tools
Summary
In this tutorial we learn how to fix ismrmrd_generate_cartesian_shepp_logan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.