Skip to main content

Infer and reproject a disk's 3D structure.

Project description

disksurf


Documentation Status

What is it?

disksurf is a package which contains the functions to measure the height of optically thick emission, or photosphere, using the method presented in Pinte et al. (2018).

How do I install it?

Grab the latest version from PyPI:

$ pip install disksurf

This has a couple of dependencies, namely astropy and GoFish, which should be installed automatically if you don't have them. To verify that everything was installed as it should, running through the tutorials should work without issue.

How do I use it?

At its most basic, disksurf is as easy as:

from disksurf import observation                        # import the module
cube = observations('path/to/cube.fits')                # load up the data
surface = cube.get_emission_surface(inc=30.0, PA=45.0)  # extract the surface
surface.plot_surface()                                  # plot the surface

Follow our tutorials for a quick guide on how to use disksurf with DSHARP data and some of the additional functions that will help you extract the best surface possible.

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

disksurf-0.1.5.tar.gz (21.3 kB view details)

Uploaded Source

File details

Details for the file disksurf-0.1.5.tar.gz.

File metadata

  • Download URL: disksurf-0.1.5.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4

File hashes

Hashes for disksurf-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1a6709567cfb49ca31e580dbd81620c91aaf78b3023004d2fd8c6ebe283ca36c
MD5 66d39744ec7cb0902b935bc06e6110ed
BLAKE2b-256 30da69387b811ec6b111b5bf232ccde70af543c5a0a9ca7e4e262848d341dedd

See more details on using hashes here.

Supported by

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