How To Install weightwatcher on Ubuntu 18.04

In this tutorial we learn how to install weightwatcher on Ubuntu 18.04. weightwatcher is Combine maps and polygon data for astronomical image processing

Introduction

In this tutorial we learn how to install weightwatcher on Ubuntu 18.04.

What is weightwatcher

weightwatcher is:

WeightWatcher is a program that combines weight-maps, flag-maps and polygon data in order to produce control maps which can directly be used in astronomical image-processing packages like Drizzle, Swarp or SExtractor.

Weight-thresholding and/or specific flag selections are applied by WeightWatcher through a configuration file: this alleviates other programs from such interpretation work. WeightWatcher will mostly be useful as part of an imaging survey pipeline. Its main features are:

  • Processing speed: limited by the I/O performances of the machine (typically 50 Mpixel/s on a workstation),
  • Ability to work with very large images (up to, say, 10^8 × 10^9 pixels on a 64 bit system),
  • FITS format (including Multi-Extension) is used for input and output. Output flag-map format selection is automatic (8, 16 or 32bits),
  • Up to 30 weight-maps, 30 flag-maps, and thousands of polygons can be handled simultaneously.
  • Automatic rasterizing of DS9 .reg files,
  • Statistics of flagged and weighted areas,
  • Metadata output in XML-VOTable format.

There are three methods to install weightwatcher on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install weightwatcher Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install weightwatcher using apt-get by running the following command:

sudo apt-get -y install weightwatcher

Install weightwatcher Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install weightwatcher using apt by running the following command:

sudo apt -y install weightwatcher

Install weightwatcher 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 weightwatcher using aptitude by running the following command:

sudo aptitude -y install weightwatcher

How To Uninstall weightwatcher on Ubuntu 18.04

To uninstall only the weightwatcher package we can use the following command:

sudo apt-get remove weightwatcher

Uninstall weightwatcher And Its Dependencies

To uninstall weightwatcher and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove weightwatcher

Remove weightwatcher Configurations and Data

To remove weightwatcher configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge weightwatcher

Remove weightwatcher configuration, data, and all of its dependencies

We can use the following command to remove weightwatcher configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge weightwatcher

References

Summary

In this tutorial we learn how to install weightwatcher package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.