ymira command not found

In this troubleshooting guide we learn how to fix ymira command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ymira: command not found

or when using sudo you get the following error message

sudo: ymira: command not found

Solutions to ymira: command not found

How To Fix ymira: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ymira is provided by yorick-mira package.

yorick-mira is:

MiRA is an algorithm for image reconstruction from data provided by optical interferometers. It is written in the Yorick language and operated through the Yorick interpreter.

MiRA won the 2008’ Interferometric Imaging Beauty Contest organized by International Astronomical Union (IAU) to compare the image synthesis algorithms designed for optical interferometry. In a nutshell, MiRA proceeds by direct minimization of a penalized likelihood. This penalty is the sum of two terms: a likelihood term (typically a χ2) which enforces agreement of the model with the data, plus a regularization term to account for priors. The priors are required to lever the many degeneracies due to the sparseness of the spatial frequency sampling. MiRA implements many different regularizations (quadratic or edge-preserving smoothness, total variation, maximum entropy, etc.) and let the user defines his own priors. The likelihood penalty is modular and designed to account for available data of any kind (complex visibilities, powerspectra and/or closure phase). One of the strength of MiRA is that it is purely based on an inverse problem approach and can therefore cope with incomplete data set; for instance, MiRA can build an image without any Fourier phase information. Input data must be in OI-FITS format.

To fix this problem, we can install more using the command below.

sudo apt-get -y install yorick-mira

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install yorick-mira.

sudo apt -y install yorick-mira

Or if you have aptitude installed you can use the following command.

sudo aptitude install yorick-mira

Summary

In this tutorial we learn how to fix ymira command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.