anjavdl / PHY517_AST443

PHY 517 / AST 443 - Observational Techniques in Astronomy
11 stars 19 forks source link

pyraf: background subtraction with apall #7

Open anjavdl opened 7 years ago

anjavdl commented 7 years ago

The default setting in apall is not to subtract the background, even if background regions are defined. To switch on the background subtraction, you can use

epar apall

to open the parameter editor for apall - the setting for the background subtraction is specified in the last section. Alternatively, you can pass an extra option to the call to apall itself, e.g.

apall spectrum.fits background=median