EnglishFrenchSpanish

Ad


OnWorks favicon

mConvert - Online in the Cloud

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

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


mConvert - Convert FITS data to a different data type (ie, integer to floating-point)

SYNOPSIS


mConvert [-d level] [-s statusfile] [-b bitpix] [-min minval] [-max maxval] [-blank
blankval] in.fits out.fits

DESCRIPTION


mConvert changes the datatype of an image. When converting to floating point, no
additional information is needed. However, when converting from higher precision (e.g.
64-bit floating point) to lower (e.g. 16-bit integer), scaling information is necessary.
This can be given explicitly by the user or guessed by the program.

OPTIONS


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

-s statusfile
mBgModel output and errors are written to statusfile instead of to stdout.

-b bitpix
BITPIX value for the output FITS file (default is -64). Possible values are:

8 (character or unsigned binary integer)
16 (16-bit integer)
32 (32-bit integer)
-32 (single precision floating point)
-64 (double precision floating point).

-min minval
Pixel data value in the input image which should be treated as a minimum (value of
0) in the output image when converting from floating point to integer. (default
for BITPIX 8: 0; BITPIX 16: -32767; BITPIX 32: -2147483647

-max maxval
Pixel data value in the input image which should be treated as a maximum (value of
255 or 32768) in the output image when converting from floating point to integer.
(Default for BITPIX 8: 255; BITPIX 16: 32768; BITPIX 32: 2147483648)

-blank blankval
If converting down to an integer scale: value to be used in the output image to
represent blank pixels (NaN) from the input image. Default value is minval.

ARGUMENTS


in.fits
Input image filename

out.fits
Output image filename.

RESULT


Output image with the datatype as specified by the user (BITPIX).

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: 'debug-level'

ERROR Debug level value cannot be negative

ERROR No bitpix value given

ERROR Bitpix string is invalid: 'bitpix'

ERROR Bitpix must be one of (8, 16, 32, -32, -64)

ERROR No range min value given

ERROR Range min string is invalid: 'min'

ERROR No range max value given

ERROR Range max string is invalid: 'max'

ERROR No blank value given

ERROR Blank string is invalid: 'blank'

ERROR Invalid input file 'in.fits'

ERROR Invalid output file 'out.fits'

ERROR general error message

ERROR FITS library error message

EXAMPLES


Converting a single-precision image down to a 16-bit integer BITPIX, when the data is
clustered between values of -0.01 and 0.1:

$ mConvert -b 16 -min -0.01 -max 0.1 -blank -32767 acs.fits acs_bitpix16.fits
[struct stat="OK"]

Use mConvert online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 2
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 3
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 4
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 5
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 6
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands

  • 1
    acl_gran
    acl_gran
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_gran
  • 2
    acl_grant
    acl_grant
    rsbac-admin - Rule Set Based Access
    Control DESCRIPTION: rsbac-admin is a
    set of tool used to manage systems using
    a Rule Set Based Access Control (RSBAC)
    kern...
    Run acl_grant
  • 3
    cpupower-idle-set
    cpupower-idle-set
    cpupower idle-set - Utility to set cpu
    idle state specific kernel options
    SYNTAX: cpupower [ -c cpulist ]
    idle-info [options] DESCRIPTION: The
    cpupower idle-se...
    Run cpupower-idle-set
  • 4
    cpupower-info
    cpupower-info
    cpupower-info - Shows processor power
    related kernel or hardware
    configurations ...
    Run cpupower-info
  • 5
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • 6
    g15ladi
    g15ladi
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • More »

Ad