EnglishFrenchSpanish

OnWorks favicon

mBackground - Online in the Cloud

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

This is the command mBackground 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


mBackground - Remove a background plane from a FITS image

SYNOPSIS


mBackground [-d level] [-n(o-areas)] [-s statusfile] in.fits out.fits A B C

mBackground [-t] [-d level] [-n(o-areas)] [-s statusfile] in.fits out.fits images.tbl
corrfile.tbl

DESCRIPTION


Remove a background plane from a FITS image. The background correction applied to the
image is specified as Ax+By+C, where (x,y) is the pixel coordinate using the image center
as the origin, and (A,B,C) are the background plane parameters specified as linear
coefficients.

OPTIONS


-d level
Turns on debugging to the specified level.

-n Indicates that no area images are present (assumes equal weighting for each data
pixel)

-s statusfile
mBackground output and errors will be written to statusfile instead of stdout.

-t Run in table mode. Starts a group of mBackground runs in parallel, reading off the
same pair of tables to determine which files and background corrections to work
with. Recommended for running only on grids or parallel processors.

ARGUMENTS


in.fits
Input FITS file

out.fits
Output FITS file

A B C Corrections (as given by mFitplane or mFitExec)

images.tbl
When run as part of a GRID processing job, mBackground requires the image metadata
table to retrieve the filenames of images.

corrections.tbl
When run as part of a GRID processing job, mBackground requires a table of
corrections (from mFitplane and mFitExec) to apply to the corresponding image (from
images.tbl).

RESULT


Output FITS image with background subtraction applied.

MESSAGES


OK [struct stat = "OK"]

ERROR No status file name given

ERROR Cannot open status file: statusfile

ERROR No debug level given

ERROR Debug level string is invalid: string

ERROR Debug level value cannot be negative

ERROR Invalid input file filename

ERROR Invalid output file filename

ERROR A coefficient string is not a number

ERROR B coefficient string is not a number

ERROR C coefficient string is not a number

ERROR Invalid image metadata file: images.tbl

ERROR Image table needs columns cntr and fname

ERROR Hit end of image table without finding file name

ERROR Need columns: id,a,b,c in corrections file

ERROR Hit end of corrections table without finding data

ERROR FITS library error message

ERROR general error message

EXAMPLES


The following is sample output from mFitplane for a FITS image, in.fits: [struct
stat="OK", a=-0.000144415, b=-0.000133642, c=-31.8984, crpix1=758.5, crpix2=-1032,
xmin=-758.5, xmax=-349.5, ymin=1032, ymax=1498, xcenter=-555.007, ycenter=1265.26,
rms=0.576727]

We use the plane coefficients calculated by mFitplane to subtract the background from the
image:

$ mBackground projdir/in.fits bg_removed/in.fits -0.000144415 -0.000133642 -31.8984
[struct stat="OK"]

Use mBackground online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Windows...
    Download Rocket.Chat Desktop Client
  • 2
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 3
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 4
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 5
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 6
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • More »

Linux commands

Ad