Padova-Asiago Supernova Group
Foscgui: SN spectroscopy/photometry with AFOSC/ALFOSC.

Foscgui is a graphic user interface aimed at extracting SN spectra and photometry obtained with a fosc-like instrument. In the current version two instruments are implemented, namely:
  • AFOSC installed at the 1.82m Copernico telescope of the L. Rosino observing station at Cima Ekar, Asiago (Vi), Italy (INAF-OAPD)
  • ALFOSC installed at the Nordic Optical Telescope (NOT) located at Roque de Los Muchachos, La Palma, Canarias, Spain (NOTSA)
The current version of Foscgui is 1.4.

Code description
The GUI is built using Tkinter in python. The code is implemented for the anaconda/astroconda python distribution. It call a number of iraf tasks in pyraf, in particular specred, along with packages from astropy. It also uses sextractor. The GUI can be used both for quick extraction of spectra/magnitudes, using archive calibrations, or for full calibration, using specific observations obtained on purpouse.
The preliminary processing steps are:
i) Ovescan correction and trimming ii) Bias and flat field average. Bias and Flat Field correction iii) Cosmic ray correction (using the algorithm of van Dokkum 2001, PASP 113, 1420)
Spectroscopic reduction proceeds with:
iv) one-dimensional spectral extraction, wavelength calibration v) II order correction, if needed. vi) from standard star observation, obtain sensitivity curve vii) flux calibration, telluric absorption removal viii) trimming, zapping, merging of 1-d spectra ix) SN classification with snid (Blondin and Tonry 2007 ApJ 666,1024)
For photometry the following processing steps are performed:
iv) astrometric calibration, v) seeing measurement, vi) photometric calibration against field stars (from SDSS, if available), vii) PSF derivation, viii) SN PSF fit with error estimate through simple artificial star experiment.

A screenshot of the running GUI is shown below.

The main reasons is that development is still in progress and that a complete user manual is not available. Therefore at the moment the code is distributed only among members of our group and very close collaborators.

Versione history
  • 1.3 - [2016/05/01] First ALFOSC/AFOSC version
  • 1.4 - [2016/11/01] Porting to astroconda/astropy

The following footnote is suggested for reference in the papers:
Foscgui is a graphic user interface aimed at extracting SN spectroscopy and photometry obtained with FOSC-like instruments. It was developped by E. Cappellaro. A package description can be found at