Clone this repo and make a virtual environment in the the source directory
python -m venv venv
source venv/bin/activate
To exit the virtual environment type deactivate
Install the dependencies
pip install -r requirements.txt
Run the RFI-K-Means
python rfi-k-means.py
Note: The flagging works with python 3 and the data directory for the HIDE simulations needs to be set in the source code.