EnglishFrenchSpanish

OnWorks favicon

mMakeImg - Online in the Cloud

Run mMakeImg in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mMakeImg that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mMakeImg - Generate synthetic FITS images

SYNOPSIS


mMakeImg [-d level] [-n noise_level] [-b bg1 bg2 bg3 bg4] [-t tbl col width epoch mag]
template.hdr out.fits

DESCRIPTION


Generates synthetic FITS images, with varying levels of noise, from a table of provided
point sources. Each source is treated independently and its flux is distributed on a
source-specific point-spread function.

OPTIONS


-d level
Turns on debugging to the specified level (1-4).

-n noise_level
Specified random noise equal to noise_level will be added to image background.

-b bg1 bg2 bg3 bg4
Specifies the four corners for a 'tilted' background for the image. Each value is a
floating point number specifying the background height at the corner.

-t tbl col width epoch mag
Specifies a table of sources to be added to the raw image. tbl is the table
filename, col is the column name which contains the source fluxes, width is a
floating point number determining the point spread of each source, epoch is the
coordinate system reference year, and mag is the reference magnitude of the source
list. In addition, the source table should have ra and dec columns for the image
positions.

Several input tables can be specified if desired through repeated use of the -t
flag and arguments.

ARGUMENTS


template.hdr
FITS header template, used to indicate the desired parameters of the output image

out.fits
Path of FITS image to be generated.

RESULT


Synthetic FITS output image; sources in image will represent the values from the input
table(s).

MESSAGES


OK [struct stat="OK"]

ERROR Can't open table table tbl

ERROR Can't find lon, lat columns

ERROR Can't find flux/magnitude column 'col'

ERROR Template file [template.hdr] not found

ERROR Output wcsinit() failed. Exiting.

ERROR FITS library error

EXAMPLES


$ mMakeImg -n 0.01 -b 0 1.0 1.0 0 -t sources.tbl J_MAG 5.0 2000 10.0 template.hdr out.fits
[struct stat="OK"]

Use mMakeImg online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad