Welcome to pyBIA’s documentation!¶
pyBIA is an open-source program for Lyman-alpha blob detection in wide-field surveys. This engine uses the machine learning convolutional neural network model, trained with 50x50 images.
Installation¶
The current stable version can be installed via pip:
pip install pyBIA
Example:¶
In this example we will load the standard pyBIA model for blue broadband images, and use this model to classify low redshift lyman-alpha blobs, known as Green Bean galaxies.
from pyBIA import pyBIA
model = pyBIA.bw_model()
This is our CNN model, which we can now use to classify any 50x50 image.
prediction = pyBIA.predict(data, model)
The data format must be a 2-dimensional array.