Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes



Display utilities

result = nanscale(input)

Byte scales numbers so that non-finite values are zero, and finite values map from 1 - 255. Useful for image stretching.

Return value

stretch: The stretched data


input in required

scalar or array of data

File attributes

Modifcation date: Mon Mar 22 16:17:13 2010
Lines: 40