Weston, S. D.Seymour, N.Gulyaev, S.Norris, R. P.Banfield, JulieVaccari, M.Hopkins, Andrew M.Franzen, T. M. O.2019-10-102019-10-100035-8711http://hdl.handle.net/1885/173661Cross-identifying complex radio sources with optical or infra red (IR) counterparts in surveys such as the Australia Telescope Large Area Survey (ATLAS) has traditionally been performed manually. However, with new surveys from the Australian Square Kilometre Array Pathfinder detecting many tens of millions of radio sources, such an approach is no longer feasible. This paper presents new software (LRPY -Likelihood Ratio in PYTHON) to automate the process of cross-identifying radio sources with catalogues at other wavelengths. LRPY implements the likelihood ratio (LR) technique with a modification to account for two galaxies contributing to a sole measured radio component. We demonstrate LRPY by applying it to ATLAS DR3 and a Spitzer-based multiwavelength fusion catalogue, identifying 3848 matched sources via our LR-based selection criteria. A subset of 1987 sources have flux density values for all IRAC bands which allow us to use criteria to distinguish between active galactic nuclei (AGNs) and star-forming galaxies (SFG). We find that 936 radio sources (approximate to 47 per cent) meet both of the Lacy and Stern AGN selection criteria. Of the matched sources, 295 have spectroscopic redshifts and we examine the radio to IR flux ratio versus redshift, proposing an AGN selection criterion below the Elvis radio-loud AGN limit for this dataset. Taking the union of all three AGNs selection criteria we identify 956 as AGNs (approximate to 48 per cent). From this dataset, we find a decreasing fraction of AGNs with lower radio flux densities consistent with other results in the literature.Nicholas Seymour is the recipient of an Australian Research Council Future Fellowship. Mattia Vaccari acknowledges support from the European Commission Research Executive Agency (FP7-SPACE-2013-1 GA 607254), the South African Department of Science and Technology (DST/CON 0134/2014) and the Italian Ministry for Foreign Affairs and International Cooperation (PGR GA ZA14GR02)application/pdfen-AU© 2018 The Author(s). Published by Oxford University Press on behalf of the Royal Astronomical SocietyAutomated cross-identifying radio to infrared surveys using the LRPY algorithm: a case study201810.1093/mnras/stx25622019-04-21