SAOTk
Frame Scale Commandscommands
clip scope clip mode clip minmax clip user clip zscale get clip get clip scope get clip mode get clip minmax get clip user get clip zscale has datamin has irafmin clip scope
Set the scope of clip parameters. This only affects mosaics. The value of LOCAL implies each mosaic segment has its own clip values. The value of GLOBAL implies a max and min of the current clip values of each segment.
Syntax: clip scope [local | global]
Example: clip scope localclip mode
Set the current clipping algorithm. MINMAX uses the min and max values of the image to set the clip low and high values. ZSCALE uses the IRAF zscale algorithm to determine the values. USER allows the user to set the values.
Syntax: clip mode [minmax | zscale | user]
Example: clip mode zscaleclip minmax
Set the clip algorithm MINMAX parameters. If the minmax mode is SCAN, the entire image is scanned. A value of SAMPLE implies the image is sampled at a specified increment. A value of DATAMIN implies, the keywords DATAMIN and DATAMAX are used. A value of IRAFMIN implies the keywords IRAFMIN and IRAFMAX are used.
Syntax: clip minmax mode [scan | sample | datamin | irafmin] # set min max mode
clip minmax param integer # set min max sample increment
Example: clip minmax mode scan
clip minmax param 10clip user
Set the clip values.
Syntax: clip user numeric numeric
clip user low numeric
clip user high numeric
Example: clip user 1 1000
clip user low 1
clip user high 1000clip zscale
Set the zscale parameter values. The arguments are contrast, sample size, and sample line.
Syntax: clip zscale param numeric integer integer
Example: clip zscale param .25 600 120get clip
Return the current clip values low high.
Syntax: get clip precision
get clip canvas coordinate system coordinate precision
Example: get clip default
get clip canvas 100 100 defaultget clip scope
Return the current clipping scope. A value of LOCAL or GLOBAL is returned.
Syntax: get clip scope
Example: get clip scopeget clip mode
Return the current clipping mode. A value of MINMAX, ZSCALE, or USER is returned.
Syntax: get clip mode
Example: get clip modeget clip minmax
Return the current minmax parameters.
Syntax: get clip minmax mode # returns one of SCAN, SAMPLE, DATAMIN, or IRAFMIN
get clip minmax param # returns the sample increment value
Example: get clip minmax modeget clip user
Return the current user parameters of low and high.
Syntax: get clip user
Example: get clip userget clip zscale
Return the current zscale parameters of contrast, sample size, sample line
Syntax: get clip zscale
Example: get clip zscalehas datamin
Returns true if keywords DATAMIN and DATAMAX are available
Syntax: has datamin
Example: has dataminhas irafmin
Returns true if keywords IRAFMIN and IRAFMAX are available
Syntax: has irafmin
Example: has irafmin