http://www.noao.edu/staff/mighell/mxtools/
This work is supported by a grant from the
National Aeronautics and Space Administration (NASA),
Order No. S-67046-F, which was awarded by the
Long-Term Space Astrophysics (LTSA) program (NRA 95-OSS-16).

MXTOOLS release: 2001DEC27

  • installation instructions for MXTOOLS
  • get the tar file of MXTOOLS without exectuables
  • look at the source code for MXTOOLS
  • MXTOOLS has been tested on the following operating systems
  • Solaris (get the bin.ssun executables tarfile)
  • SunOS (get the bin.sparc executables tarfile)
  • Redhat Linux (get the bin.redhat executables tarfile)
  • Digital UNIX (Dec Alpha) (get the bin.alpha executables tarfile)
  • HP700 (get the bin.hp700 executables tarfile)


  • A QDWPC2 analysis of a Hubble Space Telescope of NGC 362. It took about about 8 seconds on a 200-MHz Ultra1 Sun workstation for this color-magnitude diagram to appear on the IRAF graphics device (stdgraph=xgterm).

  • QDPHOT (Quick and Dirty CCD stellar PHOTometry) [source code]
    Do quick-look stellar photometry with two CCD observations.

    This native IRAF task is written in C using the MX and CVOS libraries.

  • WFPC2COLOR [source code]
    Convert WFPC2 instrumental magnitudes into standard colors.

    This native IRAF task is written in C using the MX and CVOS libraries.

  • QDCMD [source code]
    Display WFPC2COLOR results as a color-magnitude diagram.

    This IRAF script uses the IGI graphics package of STSDAS.

  • QDWFPC2 [source code]
    Do quick-look stellar photometry with two WFPC2 observations.

    This IRAF script uses QDPHOT, WFPC2COLOR, and QDCMD.

  • PSFPREP [source code]
    Convert a PSF image into the MATPHOT PSF format.

  • PSFOBS [source code]
    Simulate a CCD stellar observation using a MATPHOT PSF file.

  • PSFG2D [source code]
    Create a MATPHOT PSF file with a 2-d Gaussian PSF.

  • PSFDELX [source code]
    Compute the X partial derivative of a MATPHOT PSF file

  • PSFDELY [source code]
    Compute the Y partial derivative of a MATPHOT PSF file

  • MXDEMO [source code]
    A simple native IRAF task written in C using the MX and CVOS libraries.


  • MX Application Programming Interface (MX API)

    MX library include file:

  • mx.h
    All C programs using the MX library must include this file.

  • MX library IRAF functions:

  • mxiraf_image_s_open_f3
    Open a IRAF image (open a mxiraf_image_s structure).
  • mxiraf_image_s_close_f1
    Close a IRAF image (close a mxiraf_image_s structure).
  • mxiraf_cvos_error_check_f0
    Any CVOS errors?
  • mxiraf_image_s_limits_check_f5
    Check limits against a mxiraf_image_s structure.
  • mxiraf_image_s_list_f5
    List the pixel values of a mxiraf_image_s structure.
  • mxiraf_image_s_ok_f1
    Is a mxiraf_image_s structure OK?
  • mxiraf_image_s_info_f1
    Dump information about a mxiraf_image_s structure.

  • MX library image processing functions:

  • mxip_image_s_open_f7
    Open a mxip_image_s structure.
  • mxip_image_s_close_f1
    Close a mxip_image_s structure.
  • mxip_image_s_copy_f2
    Make a copy of a mxip_image_s structure.
  • mxip_image_s_const_add_f2
    Add a constant to pixel data of a mxip_image_s structure.
  • mxip_image_s_const_mul_f2
    Multiply pixel data of a mxip_image_s structure by a constant.
  • mxip_image_s_ramp_f1
    Set pixel data of a mxip_image_s structure to a ramp.
  • mxip_image_s_limits_check_f5
    Check limits against a mxip_image_s structure.
  • mxip_image_s_list_f5
    List the pixel values of a mxip_image_s structure.
  • mxip_image_s_ok_f1
    Is a mxip_image_s structure OK?
  • mxip_image_s_info_f1
    Dump information about a mxip_image_s structure.
  • MX library primitives:

  • mxp_init_f0
    Initialize MX.
    All C programs using the MX library must start with this function.
  • mxp_dummy_f0
    A template for a MX function.
  • mxp_int_range_f3
    Is (int)value OK?
  • mxp_errmsg_init_f0
    Initialize the MX error message.
  • mxp_errmsg_set_f3
    Set the MX error message.
  • mxp_errmsg_append_f3
    Append the MX error message.
  • mxp_errmsg_dump_f0
    Dump the MX error message.
  • mxp_tmpmsg_init_f0
    Initialize the MX temporary message.


  • Kenneth Mighell
    Associate Scientist  
    Kitt Peak National Observatory
    National Optical Astronomy Observatories
    
    EMAIL: mighell@noao.edu
     MAIL: P.O. Box 26732, Tucson, AZ  85726-6732
    FEDEX: 950 N. Cherry Ave., Tucson, AZ  85719
    PHONE: (520) 318-8391
      FAX: (520) 318-8360
      URL: http://www.noao.edu/staff/mighell/
    

    Last updated: 2001 September 16