20_SVO CAB-INTA MCI

SVOZTF Cataclysmic Variables Service



  1. Introduction
  2. Search form
  3. Results obtained
  4. Spectrum classification system based on neural networks


Introduction

SVOZTF Cataclysmic Variables Service is the first version of an automated transient object identification and characterization system developed by the Spanish Virtual Observatory (SVO), called SVOZTF. The system uses data from the Zwicky Transient Facility (ZTF) survey. Transient events are astrophysical phenomena with durations much shorter than the timescales of stellar and galactic evolution, ranging from a few seconds to several years. These phenomena include supernovae (SN), novae, gamma-ray bursts, and cataclysmic variable stars (CV).


For each detection (alert) made by ZTF every night, a summary is generated and distributed to a set of intermediary systems known as brokers. These brokers provide real-time access to the ZTF alert stream. Among these systems is the Automatic Learning for the Rapid Classification of Events (ALeRCE).


The SVOZTF system connects to ALeRCE via its Python-based Application Programming Interface (API) to access the alert stream. Daily, it retrieves new alerts with a non-zero probability of belonging to the Cataclysmic Variable / Nova class. Once all alerts are obtained, a series of filtering steps are applied to confirm that the detected sources belong to the specified class. These steps include queries to Simple Spectrum Access Protocol (SSAP) services, which help identify the Hα emission line.


These alerts are checked against catalogues such as Gaia DR3, eRosita and Chandra for the location of counterparts in the visible to X-ray range respectively. These searches allow us to filter the objects to locate CVs in relation to their astrophysical parameters obtained from these catalogues such as the location in an HR diagram, in the case of the visible spectrum, or a cut-off line for those objects that are located in the X-ray catalogues.


The SVOZTF system is designed in a modular way and encapsulated in a Docker container for greater versatility and portability.


Search form

SVOZTF Tool provides a search engine on VO services, together with access interfaces, the main one being web access. The main operation of the tool is described below, which will be shown in turn in a graphic with the main components.


The main entry point to the application is a web form, where the user enters a number of parameters including: date range of the first detection of the object in the ZTF survey, RA and Dec coordinates, G-band magnitude and parallax. It also allows to select to which of the classes defined in the Abril et al. (2020) paper the system has classified the object together with the confidence interval (1-sigma, 2-sigma or 3-sigma) of the classification. It also allows to select those objects in which the system has located its spectrum and if it also has H-alpha emission. In addition, the system allows to select between the Gaia, eRosita and Chandra missions. Finally, the results can be sorted by means of different result fields.


All objects located by the system in the zone of cataclysmic variables in both the visible and X-ray are shown in the HR and eRosita-Chandra diagrams respectively.


form

If no specific search parameter is set, the system returns all objects it has located in the cataclysmic variable star zone defined by Abril et al. (2020), Rodriguez et al. (2025) and Galiullin et al. (2024).

Search by date range

The dates indicated by default in MJD start and MJD end are the dates of the first and last detection of the objects in the ZTF mapping for the objects that our system has managed to detect in the cataclysmic variable zone defined by Abril et al. (2020), Rodriguez et al. (2025) and Galiullin et al. (2024).


The system allows you to search in a new date range, modifying the date indicated in MJD start and MJD end by clicking on the corresponding date in the calendar that appears after clicking.

form_dates

Search by astronomical coordinates

The system allows searches by RA and Dec coordinates, establishing their maximum and minimum values. The range for RA is set between 0º and 360º and for Dec -90º and 90º. Decimal values are allowed.

form_coordinates

G-band magnitude search

The system allows searching on photometric magnitude in the optical part of the spectrum (G-band). For this purpose, the minimum (brightest object) and maximum (faintest object) values of magnitude in the G-band shall be indicated. The values shall be between 0 and 30 and decimal values shall be allowed.

form_gband

Parallax search

The system allows the search for objects between a minimum and maximum parallax value. The allowed values shall be between 0 and 100 and may be decimal values.

form_parallax

CV classes search

The system allows the search for objects classified according to the different classes defined in Abril et al. (2020). Each of the classes is represented by a bivariate distribution and therefore we can choose the degree of confidence of belonging to each class by clicking on 1-sigma, 2-sigma and 3-sigma. The algorithm chosen to calculate the degree of confidence that an object belongs to a class is based on the Mahalanobis distance. Finally, it is possible to choose simultaneously both several classes and several degrees of confidence.

form_cv

Mission search

The system allows the selection of detected objects by selecting the mission of origin, Gaia (objects in the visible range) and eRosita and Chandra for X-rays. The system allows the selection of more than one mission at a time.

form_cv

Method of sorting the results

The system allows sorting of the resulting objects by a series of fields and in ascending or descending order. The fields by which they can be sorted are as follows: First MJD, Alert name, RA, Dec, G mag, BP mag, RP mag, Parallax, Parallax error.

form_sort1


form_sor2


Graphical representation of detected objects

Each day the system performs a search for objects that meet the specified criteria to be identified as cataclysmic variables through the ALeRCE broker of objects from the ZTF survey. All these located objects are represented in an HR diagram, for objects in the visible band, and in a colour vs. flux diagram for objects in the X-ray band.


form_graphic


The HR diagram obtained for all the objects located and classified in their different classes with a 1-sigma degree of confidence based on the Mahalanobis distance is shown below. The total number of detections to date is shown at the top of the diagram. A link to the information page is added for more information on the data depicted.

form_HR


The second plot is of objects detected in the X-ray band from the eRosita and Chandra missions. In this plot the BP-RP colour is plotted against the flux ratio in the X-ray band versus the flux in the optical. Objects that lie above the cut-off line and within a very narrow range in the colour are selected. The legend specifies the total number of objects for each mission and at the bottom a link to the information page for more details.


form_xray

Search and clear button

Once the search parameters have been set, all that remains is to click on the ‘Search’ button or, if we do not agree with any parameter, we can click on the ‘Clear’ button, which will reset all the options to default, deleting any parameter that we have set. If we had decided to click on the ‘Search’ button, the system would return all the objects that meet the aforementioned criteria, while displaying a new button named ‘Download CSV’ that would allow us to download our result to a ‘.csv’ file.


search_button


Results obtained

Once the ‘Search’ button has been pressed, the system displays all objects matching the set parameters. First of all it shows a header with the total number of the obtained sample and then it displays a table with all the obtained records on the same web page. The table is headed with the name of the individual columns which in turn are links to the corresponding section of the information web page where further data of the corresponding field is given. For the fields "Alert" and "Closest SIMBAD target", the corresponding results are hyperlinked to the web page of the object in the ALeRCE broker and to the web page of the closest object in SIMBAD. The last two columns correspond to the spectrum file located in the different VO services and to the spectrum graph obtained for the location of the emission line in H-alpha. Both files are in ".tar.gz" format for download. All the records do not have files for download.


results_obtained

Download CSV file

The system allows the results obtained on the screen to be downloaded in a ‘.csv’ file. This file has the same structure as the table shown on the screen, including the links to the ALeRCE broker and the SIMBAD catalogue and the links to download the spectrum files and the graphs of the same.



Spectrum classification system based on neural networks

The spectra obtained from Gaia DR3 are low-resolution spectra, which makes detection of the H-alpha emission line quite difficult, leading to the detection of many false positives. To solve this problem, it was decided to develop a spectrum classification model based on neural networks. To do this, a training set previously classified by an expert was used, consisting of spectra with emission (class 1) and spectra without emission (class 0). To obtain the best model, different techniques were used, such as K-fold for cross-validation with five subsets, ADASYN for generating synthetic samples for the minority class (class 1), and Focal Loss for the loss function.
To obtain the best model, autoencoder networks were generated, combining models (ensemble) using different techniques such as K-fold for cross-validation with five subsets, ADASYN for the generation of synthetic samples for the minority class (class 1) and Focal Loss for the loss function and the combination of autoencoder at the input as a filter together with the ensemble model. The results obtained for the Precision, Recall, and F1 parameters are shown in the figure.


Comparative


Since the model generated with ensemble obtained the best results for the classification metrics that evaluate model performance, different parameters were iterated to obtain the best model, yielding the following results:

  1. Architecture [64, 32] → Two hidden layers, one with 64 neurons and the other with 32, provided the best classification balance.
  2. Method: ADASYN → Adaptive oversampling generated synthetic examples of the minority class (H-alpha emission class 1), which improved recall compared to training without balancing or with Borderline-SMOTE.
  3. α = 0.6, γ = 3.0 → The ‘Focal loss’ loss function with these parameters achieved a good trade-off:
    1. α=0.6 → we give 60% weight to the minority class.
    2. γ=3.0 → it punishes errors in the difficult-to-classify minority class more severely.
The result for the combination of the five models (ensemble) was: best threshold for recall >= 0.9: 0.591 (Precision=0.837, Recall=0.904).


HOME | SVO | Help Desk | Tutorial
Version 4.0 - November 2025    © CAB