robin-schneider / cymetric

A python library for studying Calabi-Yau metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cymetric

cymetric is a Python package for learning of moduli-dependent Calabi-Yau metrics using neural networks implemented in TensorFlow.

NOTE development of the package continues here:

https://github.com/pythoncymetric/cymetric

This version will no longer be updated.

Features

The current version is an alpha-release so not all features mentioned below are on the main branch yet. Features with an (*) will be released with the arXiv announcement of our paper.

  • Point Generators for Complete Intersection Calabi-Yau manifolds and hypersurfaces from the Kreuzer-Skarke list (requires SageMath).
  • A collection of custom TensorFlow models with different metric Ansätze.
  • A mathematica API for the point generators and TensorFlow models(*).
  • Custom models for the bundle metric(*).
  • Documentation exists(*).

Installation

Create a new environment with

conda create -n cymetric python=3.9

Then install with pip directly from github

conda activate cymetric
pip install git+https://github.com/robin-schneider/cymetric.git

Tutorials

There are some tutorials

  1. In 1.PointGenerator.ipynb we explore the three different PointGenerators for codimension-1 CICY, general CICYs and CY in toric varieties on the Fermat Quintic.
  2. In 2.TensorFlow_models.ipynb we explore some of the TF custom models with the data generated in the first notebook.
  3. (*) There exists a Mathematica integration, which allows to call the PointGenerators and the TensorFlow models. Furthermore, there are arbitrary precision PointGenerators based on the wolfram language.

Contributing

We welcome contributions to the project. Those can be bug reports or new features, that you have or want to be implemented. Please read more here.

Citation

There will soon be an accompanying paper.

About

A python library for studying Calabi-Yau metrics

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 54.6%Language:Python 45.4%