Using with Google Colab

Using with Google Colab#

Open In Colab

SpecpolFlow can be used inside Google Colab, Google’s web-based Jupyter Notebook service.

The most recent release of SpecpolFlow can be installed in the Colab environment using pip:

!pip install specpolFlow

Then, SpecpolFlow can then be imported into a Python session as usual:

import specpolFlow as pol

To check the version of SpecpolFlow being accessed, type

print(pol.__version__)

To check a docstring from a function, type

help(pol.read_lsd)

The functions that open interactive graphical UIs (normPlot and cleanMaskUI) don’t full work in Colab since Colab dosen’t support opening new windows; all other routines are fully supported, though.