Skip to content

UCBerkeleySETI/blipss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLIPSS

AJ Paper arXiv License

The Breakthrough Listen Investigation for Periodic Spectral Signals (BLIPSS) targets the detection of narrowband periodic radar transmissions from potential technologically advanced alien life forms residing in the Universe. See this link for examples of historic terrestrial radar operating at different radio frequencies.

BLIPSS utilizes the Fast Folding Algorithm (FFA) in riptide-ffa to search for channel-wide periodic signals in radio dynamic spectra.

Citation

If using blipss contributes to a scientific publication, please cite the article:
Suresh et al., "A 4–8 GHz Galactic Center Search for Periodic Technosignatures". 2023 AJ 165 255.


Table of Contents

Package Dependencies

blipss is written in Python 3.8.5, and has the following package dependencies.

  • astropy >= 4.0
  • blimpy >= 2.0.0
  • matplotlib >= 3.1.0
  • mpi4py >= 3.1.1
  • numpy >= 1.18.1
  • pandas >= 1.3.4
  • riptide-ffa >= 0.2.4
  • scipy >= 1.6.0
  • tqdm >= 4.32.1

Installation

  1. Clone this repository to your local machine. To do so, execute the following at the command line.
git clone [email protected]:UCBerkeleySETI/blipss.git
  1. Verify that your local Python 3 installation satisfies all dependencies of blipss. If not, either manually install the missing dependencies or run the below calls.
cd blipss
pip install pybind11
python setup.py install
python setup.py clean

Note: pybind11 is a prerequisite for installing riptide-ffa.

Repository Organization

The repository is organized as two major folders, which are:

  1. config: A folder containing sample input configuration scripts for various use cases
  2. executables: Primary executable files for different tasks. Unless absolutely required, avoid editing executable scripts to ensure smooth operation.

For every functionality (say inject_signal.py), you will find relevant configuration scripts and executable files under the config and executables folders respectively.

To run an executable file, use the -i flag to supply its companion configuration script in the command line. For example, if you are running a command line terminal from the blipss repository, initiate an instance of inject_signal.py using:

python executables/inject_signal.py -i config/inject_signal.cfg

Comments at the top of every executable file provide program execution syntax.

Functionalities and Usage

The BLIPSS package currently contains six chief executable files, which are:

  1. blipss.py
    Executes channel-wise FFA on input data files (filterbank or hdf5), identifies harmonics of detected periods, and outputs a .csv file of candidates. Here is a schematic of the blipss.py workflow.

BLIPSS workflow (Jan 27, 2022)

Columns in the .csv file output by blipss.py include 'Channel', 'Radio frequency (MHz)', 'Bins', 'Best width', 'Period (s)', 'S/N', and 'Harmonic flag'.

The current implementation takes about 35 min. to run on a single mid-resolution filterbank product (1.07 s sampling, 2.86 kHz, 1703936 channels). For processing multiple input files in parallel, enable MPI via the following syntax.

mpiexec -n <nproc> python -m mpi4py executables/blipss.py -i config/blipss.cfg | tee <Log file>

The above syntax assumes a Python call from the repo base directory. Alter paths as required to supply executable and config scripts located in different directories.


  1. compare_cands.py: Compare periodicity detections across a set of N .csv files generated by blipss.py. For every unique candidate period, an N-digit binary code is generated, wherein ones and zeros represent detections and non-detections respectively.

Note that the order of input .csv files passed to compare_cands.py matters. When read from left to right, the i-th place of the N-digit binary code refers to the i-th .csv file in the input list.

The output from compare_cands.py is a single .csv file containing the following columns.
'Channel', 'Radio frequency (MHz)', 'Bins', 'Best width', 'Period (s)', 'S/N', 'Code'

Execution syntax from repo base folder:

python executables/compare_cands.py -i config/compare_cands.cfg | tee <Log file>

  1. plot_cands.py: Produce verification plots for a chosen subset of candidates.

Here's a sample plot of a candidate with period 30 s and code 101010. Each row represents a different data file. The left column shows periodograms derived from different data files. We indicate the candidate period by red dashed vertical lines in the left panels. The right column illustrates average pulse profiles and pulse stacks in the phase-time plane.

B04 candidate

Clearly, we see significant spikes at the expected candidate period in the periodograms on the first, third, and fifth rows.

Execution syntax from repo base folder:

python executables/plot_cands.py -i config/plot_cands.cfg | tee <Log file>

  1. phaseresolved_ds.py: Compute and plot the phase-resolved spectrum for a given folding period.

Here's a sample output showing a phase-resolved spectrum of pulsar B0355+54.

psrB0355 spectrum

Execution syntax from repo base folder:

python executables/phaseresolved_ds.py -i config/phaseresolved_ds.cfg | tee <Log file>

  1. inject_signal.py: Inject one or more channel-wide periodic signals into a real-world data set. Fake periodic signals are assumed to have a boxcar single pulse shape with uniform pulse amplitude distribution.

Execution syntax from repo base folder:

python executables/inject_signal.py -i config/inject_signal.cfg | tee <Log file>

  1. simulate_data.py: Build an artificial data set with one or more channel-wide periodic signals superposed on normally distributed, white noise background. Again, the injected fake periodic signals have boxcar single pulse shapes and uniform pulse amplitude distributions.

Execution syntax from repo base folder:

python executables/simulate_data.py -i config/simulate_data.cfg | tee <Log file>

Troubleshooting

Please submit an issue to voice any problems or requests.

Improvements to the code are always welcome.

Releases

No releases published

Packages

No packages published

Languages