Searcharxiv⌕ Search

arXiv subjects

Oleg Smirnov

Publications and source records attributed to Oleg Smirnov.

At least 55 records · Page 3Linked to original sources

Revizor: A Data-Driven Approach to Automate Frequent Code Changes Based on Graph Matching

Many code changes that developers make in their projects are repeated and constitute recurrent change patterns. It is of interest to collect such patterns from the version history of open-source repositories and suggest the most useful of them as quick fixes. In this paper, we present Revizor - a tool aimed to build custom plugins for PyCharm, a popular Python IDE. A Revizor-based plugin can take change patterns and highlight potential places for their application in the developer's code editor. If the developer accepts the quick fix, the plugin automatically performs the edit. Our approach uses a graph-based representation of code changes, which allows it to support complex distributed code patterns. Experienced developers have also rated the usability and the performance of such Revizor-based plugin positively. The source code of the tool and test plugin prototype are available on GitHub: https://github.com/JetBrains-Research/revizor. A demonstration video with a short tool description can be found on YouTube: https://youtu.be/5eLs14nco7E.

cs.SE↗

PyNose: A Test Smell Detector For Python

Similarly to production code, code smells also occur in test code, where they are called test smells. Test smells have a detrimental effect not only on test code but also on the production code that is being tested. To date, the majority of the research on test smells has been focusing on programming languages such as Java and Scala. However, there are no available automated tools to support the identification of test smells for Python, despite its rapid growth in popularity in recent years. In this paper, we strive to extend the research to Python, build a tool for detecting test smells in this language, and conduct an empirical analysis of test smells in Python projects. We started by gathering a list of test smells from existing research and selecting test smells that can be considered language-agnostic or have similar functionality in Python's standard Unittest framework. In total, we identified 17 diverse test smells. Additionally, we searched for Python-specific test smells by mining frequent code change patterns that can be considered as either fixing or introducing test smells. Based on these changes, we proposed our own test smell called Suboptimal assert. To detect all these test smells, we developed a tool called PyNose in the form of a plugin to PyCharm, a popular Python IDE. Finally, we conducted a large-scale empirical investigation aimed at analyzing the prevalence of test smells in Python code. Our results show that 98% of the projects and 84% of the test suites in the studied dataset contain at least one test smell. Our proposed Suboptimal assert smell was detected in as much as 70.6% of the projects, making it a valuable addition to the list.

cs.SE↗

MeerKAT-64 discovers wide-spread tidal debris in the nearby NGC 7232 galaxy group

We report the discovery of large amounts of previously undetected cold neutral atomic hydrogen (\HI) around the core triplet galaxies in the nearby NGC~7232 galaxy group with MeerKAT. With a physical resolution of $\sim$1 kpc, we detect a complex web of low surface brightness \HI\ emission down to a 4$σ$ column density level of $\sim$1 $\times$ 10$^{19}$ cm$^{-2}$ (over 44 \kms ). The newly discovered H\,{\sc i} streams extend over $\sim$20 arcmin corresponding to 140~kpc in projection. This is $\sim$3 times the \HI\ extent of the galaxy triplet (52 kpc). The \HI\ debris has an \HI\ mass of $\sim$6.6 $\times 10^9$~M$_{\odot}$, more than 50\% of the total \HI\ mass of the triplet. Within the galaxy triplet, NGC~7233 and NGC~7232 have lost a significant amount of \HI\ while NGC~7232B appears to have an excess of \HI. The \HI\ deficiency in NGC~7232 and NGC~7233 indicates that galaxy-galaxy interaction in the group concentrates on this galaxy pair while the other disc galaxies have visited them over time. In comparison to the AMIGA sample of isolated galaxies we find that with regards to its total \HI\ mass the NGC~7232/3 galaxy triplet is not \HI\ deficient. Despite the many interactions associated to the triplet galaxies, no \HI\ seems to have been lost from the group (yet).

astro-ph.GA↗

Xova: Baseline-Dependent Time and Channel Averaging for Radio Interferometry

Xova is a software package that implements baseline-dependent time and channel averaging on Measurement Set data. The uv-samples along a baseline track are aggregated into a bin until a specified decorrelation tolerance is exceeded. The degree of decorrelation in the bin correspondingly determines the amount of channel and timeslot averaging that is suitable for samples in the bin. This necessarily implies that the number of channels and timeslots varies per bin and the output data loses the rectilinear input shape of the input data.

astro-ph.IM↗

Comparison of classical and Bayesian imaging in radio interferometry

CLEAN, the commonly employed imaging algorithm in radio interferometry, suffers from a number of shortcomings: in its basic version it does not have the concept of diffuse flux, and the common practice of convolving the CLEAN components with the CLEAN beam erases the potential for super-resolution; it does not output uncertainty information; it produces images with unphysical negative flux regions; and its results are highly dependent on the so-called weighting scheme as well as on any human choice of CLEAN masks to guiding the imaging. Here, we present the Bayesian imaging algorithm resolve which solves the above problems and naturally leads to super-resolution. We take a VLA observation of Cygnus~A at four different frequencies and image it with single-scale CLEAN, multi-scale CLEAN and resolve. Alongside the sky brightness distribution resolve estimates a baseline-dependent correction function for the noise budget, the Bayesian equivalent of weighting schemes. We report noise correction factors between 0.4 and 429. The enhancements achieved by resolve come at the cost of higher computational effort.

astro-ph.IM↗

Temporal assortment of cooperators in the spatial prisoner's dilemma

We study a spatial, one-shot prisoner's dilemma (PD) model in which selection operates on both an organism's behavioral strategy (cooperate or defect) and its choice of when to implement that strategy across a set of discrete time slots. Cooperators evolve to fixation regularly in the model when we add time slots to lattices and small-world networks, and their portion of the population grows, albeit slowly, when organisms interact in a scale-free network. This selection for cooperators occurs across a wide variety of time slots and it does so even when a crucial condition for the evolution of cooperation on graphs is violated--namely, when the ratio of benefits to costs in the PD does not exceed the number of spatially-adjacent organisms.

q-bio.PE↗

A Wideband Polarization Study of Cygnus A with the JVLA. I: The Observations and Data

We present results from deep, wideband, high spatial and spectral resolution observations of the nearby luminous radio galaxy Cygnus A with the Jansky Very Large Array. The high surface brightness of this source enables detailed polarimetric imaging, providing images at $0.75''$, spanning 2 - 18 GHz, and at 0.30$''$ (6 - 18 GHz). The fractional polarization from 2000 independent lines of sight across the lobes decreases strongly with decreasing frequency, with the eastern lobe depolarizing at higher frequencies than the western lobe. The depolarization shows considerable structure, varying from monotonic to strongly oscillatory. The fractional polarization in general increases with increasing resolution at a given frequency, as expected. However, there are numerous lines of sight with more complicated behavior. We have fitted the $0.3''$ images with a simple model incorporating random, unresolved fluctuations in the cluster magnetic field to determine the high resolution, high-frequency properties of the source and the cluster. From these derived properties, we generate predicted polarization images of the source at lower frequencies, convolved to 0.75$\arcsec$. These predictions are remarkably consistent with the observed emission. The observations are consistent with the lower-frequency depolarization being due to unresolved fluctuations on scales $\gtrsim$ 300 - 700 pc in the magnetic field and/or electron density superposed on a partially ordered field component. There is no indication in our data of the location of the depolarizing screen or the large-scale field, either, or both of which could be located throughout the cluster, or in a boundary region between the lobes and the cluster.

astro-ph.GA↗

A probabilistic approach to phase calibration: I. Effects of source structure on fringe-fitting

We propose a probabilistic framework for performing simultaneous estimation of source structure and fringe-fitting parameters in Very Long Baseline Interferometry (VLBI) observations. As a first step, we demonstrate this technique through the analysis of synthetic short-duration Event Horizon Telescope (EHT) observations of various geometric source models at 230 GHz, in the presence of baseline-dependent thermal noise. We perform Bayesian parameter estimation and model selection between the different source models to obtain reliable uncertainty estimates and correlations between various source and fringe-fitting related model parameters. We also compare the Bayesian posteriors with those obtained using widely-used VLBI data reduction packages such as CASA and AIPS, by fringe-fitting 200 Monte Carlo simulations of each source model with different noise realisations, to obtain distributions of the Maximum A Posteriori (MAP) estimates. We find that, in the presence of resolved asymmetric source structure and a given array geometry, the traditional practice of fringe-fitting with a point source model yields appreciable offsets in the estimated phase residuals, potentially biasing or limiting the dynamic range of the starting model used for self-calibration. Simultaneously estimating the source structure earlier in the calibration process with formal uncertainties improves the precision and accuracy of fringe-fitting and establishes the potential of the available data especially when there is little prior information. We also note the potential applications of this method to astrometry and geodesy for specific science cases and the planned improvements to the computational performance and analyses of more complex source distributions.

astro-ph.IM↗

Experimental Aspects of Geoneutrino Detection: Status and Perspectives

Neutrino geophysics, the study of the Earth's interior by measuring the fluxes of geologically produced neutrino at its surface, is a new interdisciplinary field of science, rapidly developing as a synergy between geology, geophysics and particle physics. Geoneutrinos, antineutrinos from long-lived natural isotopes responsible for the radiogenic heat flux, provide valuable information for the chemical composition models of the Earth. The calculations of the expected geoneutrino signal are discussed, together with experimental aspects of geoneutrino detection, including the description of possible backgrounds and methods for their suppression. At present, only two detectors, Borexino and KamLAND, have reached sensitivity to the geoneutrino. The experiments accumulated a set of $\sim$190 geoneutrino events and continue the data acquisition. The detailed description of the experiments, their results on geoneutrino detection, and impact on geophysics are presented. The start of operation of other detectors sensitive to geoneutrinos is planned for the near future: the SNO+ detector is being filled with liquid scintillator, and the biggest ever 20 kt JUNO detector is under construction. A review of the physics potential of these experiments with respect to the geoneutrino studies, along with other proposals, is presented. New ideas and methods for geoneutrino detection are reviewed.

physics.geo-ph↗

Radio Interferometric Calibration Using a Complex Student's t-distribution and Wirtinger Derivatives

Radio interferometric gain calibration can be biased by incomplete sky models and radio frequency interference, resulting in calibration artefacts that can restrict the dynamic range of the resulting images. It has been suggested that calibration algorithms employing heavy-tailed likelihood functions are less susceptible to this due to their robustness against outliers in the data. We present an algorithm based on a Student's t-distribution which leverages the framework of complex optimisation and Wirtinger calculus for efficient and robust interferometric gain calibration. We integrate this algorithm as an option in the newly released calibration software package, CubiCal. We demonstrate that the algorithm can mitigate some of the biases introduced by incomplete sky models and radio frequency interference by applying it to both simulated and real data. Our results show significant improvements compared to a conventional least-squares solver which assumes a Gaussian likelihood function. Furthermore, we provide some insight into why the algorithm outperforms the conventional solver, and discuss specific scenarios (for both direction-independent and direction-dependent self-calibration) where this is expected to be the case.

astro-ph.IM↗

Kliko - The Scientific Compute Container Format

Kliko is a Docker-based container specification for running one or multiple related compute jobs. The key concepts of Kliko are the encapsulation of data processing software into a container and the formalization of the input, output and task parameters. By formalizing the parameters, the software is represented as abstract building blocks with a uniform and consistent interface. The main advantage is enhanced scriptability and empowering pipeline composition. Formalization is realized by bundling a container with a Kliko file, which describes the IO and task parameters. This Kliko container can then be opened and run by a Kliko runner. The Kliko runner will parse the Kliko definition and gather the values for these parameters, for example by requesting user input or retrieving pre-defined values from disk. Parameters can be various primitive types, for example: float, int or the path to a file. This paper will also discuss the implementation of a support library named Kliko which can be used to create Kliko containers, parse Kliko definitions, chain Kliko containers in workflows using a workflow manager library such as Luigi. The Kliko library can be used inside the container to interact with the Kliko runner. Finally, to illustrate the applicability of the Kliko definition, this paper will discuss two reference implementations based on the Kliko library: RODRIGUES, a web-based Kliko container scheduler, and output visualizer specifically for astronomical data, and VerMeerKAT, a multi-container workflow data reduction pipeline which is being used as a prototype pipeline for the commissioning of the MeerKAT radio telescope.

astro-ph.IM↗

On the variance of radio interferometric calibration solutions: Quality-based Weighting Schemes

This paper investigates the possibility of improving radio interferometric images using an algorithm inspired by an optical method known as "lucky imaging", which would give more weight to the best-calibrated visibilities used to make a given image. A fundamental relationship between the statistics of interferometric calibration solution residuals and those of the image-plane pixels is derived in this paper. This relationship allows us to understand and describe the statistical properties of the residual image. In this framework, the noise-map can be described as the Fourier transform of the covariance between residual visibilities in a new differential Fourier plane. Image-plane artefacts can be seen as one realisation of the pixel covariance distribution, which can be estimated from the antenna gain statistics. Based on this relationship, we propose a means of improving images made with calibrated visibilities using weighting schemes. This improvement would occur after calibration, but before imaging - it is thus ideally used between major iterations of self-calibration loops. Applying the weighting scheme to simulated data improves the noise level in the final image at negligible computational cost.

astro-ph.IM↗

KERN

KERN is a bi-annually released set of radio astronomical software packages. It should contain most of the standard tools that a radio astronomer needs to work with radio telescope data. The goal of KERN is to save time and prevent frustration in setting up of scientific pipelines, and to assist in achieving scientific reproducibility.

astro-ph.IM↗

MeerKLASS: MeerKAT Large Area Synoptic Survey

We discuss the ground-breaking science that will be possible with a wide area survey, using the MeerKAT telescope, known as MeerKLASS (MeerKAT Large Area Synoptic Survey). The current specifications of MeerKAT make it a great fit for science applications that require large survey speeds but not necessarily high angular resolutions. In particular, for cosmology, a large survey over $\sim 4,000 \, {\rm deg}^2$ for $\sim 4,000$ hours will potentially provide the first ever measurements of the baryon acoustic oscillations using the 21cm intensity mapping technique, with enough accuracy to impose constraints on the nature of dark energy. The combination with multi-wavelength data will give unique additional information, such as exquisite constraints on primordial non-Gaussianity using the multi-tracer technique, as well as a better handle on foregrounds and systematics. Such a wide survey with MeerKAT is also a great match for HI galaxy studies, providing unrivalled statistics in the pre-SKA era for galaxies resolved in the HI emission line beyond local structures at z > 0.01. It will also produce a large continuum galaxy sample down to a depth of about 5\,$μ$Jy in L-band, which is quite unique over such large areas and will allow studies of the large-scale structure of the Universe out to high redshifts, complementing the galaxy HI survey to form a transformational multi-wavelength approach to study galaxy dynamics and evolution. Finally, the same survey will supply unique information for a range of other science applications, including a large statistical investigation of galaxy clusters as well as produce a rotation measure map across a huge swathe of the sky. The MeerKLASS survey will be a crucial step on the road to using SKA1-MID for cosmological applications and other commensal surveys, as described in the top priority SKA key science projects (abridged).

astro-ph.CO↗

MERGHERS: An SZ-selected cluster survey with MeerKAT

The MeerKAT telescope will be one of the most sensitive radio arrays in the pre-SKA era. Here we discuss a low-frequency SZ-selected cluster survey with MeerKAT, the MeerKAT Extended Relics, Giant Halos, and Extragalactic Radio Sources (MERGHERS) survey. The primary goal of this survey is to detect faint signatures of diffuse cluster emission, specifically radio halos and relics. SZ-selected cluster samples offer a homogeneous, mass-limited set of targets out to higher redshift than X-ray samples. MeerKAT is sensitive enough to detect diffuse radio emission at the faint levels expected in low-mass and high-redshift clusters, thereby enabling radio halo and relic formation theories to be tested with a larger statistical sample over a significantly expanded phase space. Complementary multiwavelength follow-up observations will provide a more complete picture of any clusters found to host diffuse emission, thereby enhancing the scientific return of the MERGHERS survey.

astro-ph.CO↗

Weyl images of Kantor pairs

Kantor pairs arise naturally in the study of 5-graded Lie algebras. In this article, we begin the study of simple Kantor pairs of arbitrary dimension. We introduce Weyl images of Kantor pairs and use them to construct examples of Kantor pairs including a new class of central simple Kantor pairs.

math.RA↗

Resolving the blazar CGRaBS J0809+5341 in the presence of telescope systematics

We analyse Very Long Baseline Interferometry (VLBI) observations of the blazar CGRaBS J0809+5341 using Bayesian inference methods. The observation was carried out at 5 GHz using 8 telescopes that form part of the European VLBI Network. Imaging and deconvolution using traditional methods imply that the blazar is unresolved. To search for source structure beyond the diffraction limit, we perform Bayesian model selection between three source models (point, elliptical Gaussian, and circular Gaussian). Our modelling jointly accounts for antenna-dependent gains and system equivalent flux densities. We obtain posterior distributions for the various source and instrumental parameters along with the corresponding uncertainties and correlations between them. We find that there is very strong evidence (>1e9 :1) in favour of elliptical Gaussian structure and using this model derive the apparent brightness temperature distribution of the blazar, accounting for uncertainties in the shape estimates. To test the integrity of our method, we also perform model selection on synthetic observations and use this to develop a Bayesian criterion for the minimum resolvable source size and consequently the maximum measurable brightness temperature for a given interferometer, dependent on the signal-to-noise ratio (SNR) of the data incorporating the aforementioned systematics. We find that calibration errors play an increasingly important role in determining the over-resolution limit for SNR>>100. We show that it is possible to exploit the resolving power of future VLBI arrays down to about 5 per cent of the size of the naturally-weighted restoring beam, if the gain calibration is precise to 1 per cent or less.

astro-ph.IM↗

MeqSilhouette : A mm-VLBI observation and signal corruption simulator

The Event Horizon Telescope (EHT) aims to spatially resolve the silhouette (or shadow) of the supermassive black holes in the Galactic Centre (Sgr A$^\star$) and M87. The primary scientific objectives are to test general relativity in the strong-field regime and to probe accretion and jet-launch physics at event-horizon scales. This is made possible by the technique of Very Long Baseline Interferometry (VLBI) at (sub)millimetre wavelengths, which can achieve angular resolutions of order $\sim10~μ$-arcsec. However, this approach suffers from unique observational challenges, including scattering in the troposphere and interstellar medium; rapidly time-variable source structure in both polarized and total intensity; as well as non-negligible antenna pointing errors. In this, the first paper in a series, we present the MeqSilhouette software package which is specifically designed to accurately simulate EHT observations. It includes realistic descriptions of a number of signal corruptions that can limit the ability to measure the key science parameters. This can be used to quantify calibration requirements, test parameter estimation and imaging strategies, and investigate systematic uncertainties that may be present. In doing so, a stronger link can be made between observational capabilities and theoretical predictions, with the goal of maximising scientific output from the upcoming order of magnitude increase in EHT sensitivity.

astro-ph.HE↗