| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1488 |
|
| Package | general | |
| Module | images | |
| Tool | image |
| region | in | The 2-D region of interest to fit | |
| Allowed: | Region tool | ||
| Default: | Whole image | ||
| point | in | Find only point sources ? | |
| Allowed: | T or F | ||
| Default: | T | ||
| width | in | Half-width of fit grid when point=F | |
| Allowed: | Integer | ||
| Default: | 5 | ||
| negfind | in | Find negative sources as well as positive ? | |
| Allowed: | T or F | ||
| Default: | F | ||
| list | in | List the fitted parameters to the logger ? | |
| Allowed: | T or F | ||
| Default: | T | ||
This function finds the pixel with the maximum value in the region, and then uses function findsources to generate a Componentlist with one component. The component will be of type Point (point=T) or Gaussian (point=F).
If negfind=F the maximum pixel value is found in the region and fit. If negfind=T the absolute maximum pixel value is found in the region and fit.
See function findsources for a description of arguments point and width.
See also the function fitsky.
- myim := imagemaketestimage() - cl := myim.maxfit() - cl.edit(1) # There is only one component