Padova-Asiago Supernova Group
Foscgui: SN spectroscopy/photometry with FOSC like instruments

Foscgui is a graphic user interface aimed at extracting SN spectra and photometry obtained with a fosc-like instrument. In the current version four 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)
  • BFOSC installed at the 1.52 cm Telescope located in Loiano (Bo) Italy (INAF-OAS)
  • OSIRIS installed at the GTC located at Roque de Los Muchachos, La Palma, Canarias
The current version of Foscgui is 1.8.

Code description
The GUI is built using Tkinter in python. The code is implemented for the astroconda python environment, It call a number of iraf tasks in pyraf, in particular specred, along with several packages from astropy. 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 as implemented in astropy/ccdred)
Spectroscopic reduction proceeds with:
iv) 2D wavelength calibration v) one-dimensional spectral extraction, vi) II order correction, if needed. vii) from standard star observation, obtain sensitivity curve viii) flux calibration, telluric absorption removal ix) trimming, zapping, merging of 1-d spectra x) SN classification with snid (Blondin and Tonry 2007 ApJ 666,1024)
For photometry the gui makes use of the ecsnoopy library with the following steps:
iv) astrometric calibration, v) seeing measurement, vi) photometric calibration against field stars (from PS1/SDSS/APASS/SKYMAPPER depending on field location), vii) PSF derivation, viii) SN PSF fit with error estimate through artificial star experiment.

A screenshot of the running GUI is shown below.

At present THE CODE IS NOT PUBLICLY AVAILABLE.
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.

Version history
  • 1.3 - [2016/05/01] First ALFOSC/AFOSC version
  • 1.4 - [2016/11/02] Porting to astroconda/astropy
  • 1.5 - [2019/02/25] conda/pip integration
  • 1.6 - [2019/10/15] Porting to python3
  • 1.7 - [2020/02/04] New logging system. Added support for BFOSC@Loiano
  • 1.8 - [2020/11/01] 2D wavelength calibration. Added support for Osiris@GTC

Reference
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 developed by E. Cappellaro. A package description can be found at http://sngroup.oapd.inaf.it/foscgui.html.