Due to active galaxy nuclei (AGN) mechanism at the center of the galaxies, electronics are ejected to blow and push the gas around. Bubbles or cavities are then generated, which can be detected at the X-ray band. Since AGN reveals quite lots of attracting physical phenomenons, detecting of them is significant. However, there exist many difficulties disturbing our works. For instance, the background and system noise in the X-ray images, which lead to low signal-to-noise ratio (SNR), should be eliminated. In addition, the high brightness (temperature) in the galaxy center usually leads to low contrast of the ROI compared to other regions.
In this repository, scripts of three main cavity detecion methods are provided. They are the two widely used beta-model fitting, and the unsharp masking (UM) based method. As well as our newly proposed granular convolutional neural networks (GCNN) models.
With regard to the beta-model fitting method, it fits the center of the galaxy by a two dimensional function with an elliptical plain view, and subtract the fitted pattern from the raw images. After subtraction, the cavities are usually more salient on the residual images.
As for the UM methods, the image segmentation thinking is applied. They convolve the raw image to two Gaussian kernels with different variances, and subtract or divide the two convolved images, so as to improve the contrast of the target structures.
To process our scripts, some python packages are required, which are listed as follows.
- numpy, scipy, pickle
- scikit-image
- astropy, astroquery
- Theano, Lasagne
In addition, the compurtation can be accelerated by parallelly processing with GPUs. In this work, our scripts are written under the guide of Nvidia CUDA, thus the Nvidia GPU hardware is also required.
- CUDA Toolkit https://developer.nvidia.com/cuda-downloads
- Theano tutorial
- Lasagne tutorial
- Save python data by pickle
- An image of diffuse emission
- Angular diameter distance
- astroquery.Ned
- Zhixian MA <
zxma_sjtu(at)qq.com
>
Unless otherwise declared:
- Codes developed are distributed under the MIT license;
- Documentations and products generated are distributed under the Creative Commons Attribution 3.0 license;
- Third-party codes and products used are distributed under their own licenses.