Skip to main content

flat surfaces

Project description

This is a software package for working with flat surfaces in SageMath. For the documentation, see the Links section below.

We aim for this package to support the investigation of geometric, algebraic and dynamical questions related to flat surfaces. By flat surface we mean a surface modeled on the plane with monodromy given by similarities of the plane, though current efforts are focused on translation surfaces and half-translation surfaces.

Currently, the package can:

  • generate images of flat surfaces

  • compute and plot straight-line trajectories

  • deform translation surfaces through the GL(2,R) action and compute GL(2,R)-orbit closures (the latter requires libflatsurf)

  • compute Delaunay decompositions.

SageMath, e-antic and exact-real are used to perform exact arithmetic.

This package is free software, released under the GPL v2 (see the COPYING file). We welcome any help to improve the package and especially to broaden the package’s mathematical abilities.

The package is currently in active development. If you would like assistance in using it, please contact the authors.

Dependencies

Installing the package

Since sage-flatsurf is available on PyPI (see Links section above), the released version of sage-flatsurf can be installed by running the following command:

$ sage --pip install sage-flatsurf [--user] [--upgrade]

To install the development version of sage-flatsurf, run instead:

$ sage --pip install git+https://github.com/flatsurf/sage-flatsurf [--user] [--upgrade]

The options --user and --upgrade are optional; --user is to perform the installation in your user home instead of in the Sage sources; --upgrade is to upgrade the package in case it is already installed.

This might fail if Git is not installed on your computer (which could happen for example with certain versions of Sage in Windows). In this situation you have two options. Either you install Git. Or you download this project from the “Clone or download” drop-down menu above (you should get a zip file). Then you need to run the command:

$ sage --pip install TARBALL_NAME [--user] [--upgrade]

where TARBALL_NAME has to be replaced with the full path to your tarball. Under Windows, it should be a Cygwin path and will look something like /cygdrive/c/Users/You/Downloads/sage-flatsurf-master.zip.

Then you should be able to use the following within Sage:

sage: import flatsurf.geometry.similarity_surface_generators as sfg
sage: T = sfg.translation_surfaces.regular_octagon()
sage: T
Translation surface built from 1 polygon
sage: T.stratum()
H_2(2)

To uninstall the package, you can do:

$ sage --pip uninstall flatsurf

Run the tests

Running the tests of a specific file or directory is done by running:

$ sage -t --force-lib ARG

where ARG is either a directory or file. In particular, to test all the files in the module just do:

$ sage -t --force-lib flatsurf

Contributors

  • Vincent Delecroix (Bordeaux)

  • Pat Hooper (City College of New York and CUNY Graduate Center)

  • Julian Rüth

We welcome others to contribute.

How to Cite This Project

If you have used this project please cite us as described on our zenodo website.

Acknowledgements

  • This software project was created during a thematic semester at ICERM.

  • Hooper’s contribution to the project has been supported by the National Science Foundation under Grant Number DMS-1500965. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.

  • Delecroix’s contribution to the project has been supported by OpenDreamKit, Horizon 2020 European Research Infrastructures project #676541.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sage_flatsurf-0.4.2.tar.gz (184.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sage_flatsurf-0.4.2-py3-none-any.whl (206.2 kB view details)

Uploaded Python 3

File details

Details for the file sage_flatsurf-0.4.2.tar.gz.

File metadata

  • Download URL: sage_flatsurf-0.4.2.tar.gz
  • Upload date:
  • Size: 184.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for sage_flatsurf-0.4.2.tar.gz
Algorithm Hash digest
SHA256 bd4261c819f6675cc3579c79477f9f483b109159f40a74997a4c69205dc8f238
MD5 0216961c05753e8970bf00b90d1cf7c3
BLAKE2b-256 902a84d99fc54515a42cdb7fb3e0cf7e403a31af750f369b00377494459b40b9

See more details on using hashes here.

File details

Details for the file sage_flatsurf-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: sage_flatsurf-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 206.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for sage_flatsurf-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2820c2cd807174ceb5c05aafbc1bc1f68be5358bacfbbde23d34309013f6b718
MD5 4de65172657a6cd0758050fd5d458bc9
BLAKE2b-256 25d2b33be5932c06752735a57c47fa6f8ab2f546231f67338c29d26d2c0ae50c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page