Skip to content

rahulor/linking-number

Repository files navigation

Linking number

  • Generates random loops using the LoopMaker app.

  • Computes the linking number which can be considered as a label corresponding to a loop-combination.

  • Visualize it from the data-file for further analysis if needed.

  • [in progress] Classification task using deep neural network

See the linking-number.streamlit.app app in production!

Requirements

  • Python 3.10.6 or later
  • Required Python packages (see requirements.txt)

Install required packages in your virtual environment using

pip install -r requirements.txt

Usage

Run the script Home.py as

streamlit run Home.py

The data has been already generated and available in the directory data. One can re-run the code and modify the data using

python curve.py

Look at inputs.py to change the parameters.

Visualization

Lk = 0 if the loops are unlinked, whereas Lk = 1 if they are linked.

About

Generates random loops and computes the linking number.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages