How To Install yorick-mira on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 527 words
Introduction
In this tutorial we learn how to install yorick-mira
on Ubuntu.
What is yorick-mira
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.
There are three methods to install yorick-mira
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install yorick-mira Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install yorick-mira
using apt-get
by running the following command:
sudo apt-get -y install yorick-mira
Install yorick-mira Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install yorick-mira
using apt
by running the following command:
sudo apt -y install yorick-mira
Install yorick-mira Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install yorick-mira
using aptitude
by running the following command:
sudo aptitude -y install yorick-mira
How To Uninstall yorick-mira on Ubuntu
To uninstall only the yorick-mira
package we can use the following command:
sudo apt-get remove yorick-mira
Uninstall yorick-mira And Its Dependencies
To uninstall yorick-mira
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove yorick-mira
Remove yorick-mira Configurations and Data
To remove yorick-mira
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge yorick-mira
Remove yorick-mira configuration, data, and all of its dependencies
We can use the following command to remove yorick-mira
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yorick-mira
Dependencies
yorick-mira have the following dependencies:
References
Summary
In this tutorial we learn how to install yorick-mira
package on Ubuntu using different package management tools: apt, apt-get and aptitude.