Skip to main content

Modular data analysis code for angle resolved photoemission spectroscopy (ARPES)

Project description

PyPES Banner

Documentation

Documentation

https://dev.azure.com/lanzara-group/PyARPES/_apis/build/status/PyARPES%20CI%20Build?branchName=master https://img.shields.io/azure-devops/coverage/lanzara-group/PyARPES/2.svg https://img.shields.io/pypi/v/arpes.svg https://img.shields.io/conda/v/arpes/arpes.svg https://img.shields.io/pypi/pyversions/arpes.svg

Installation

The simplest way to install the package is using pip. While this repository is private, you can install with pip by pointing pip to the URL of the repository as:

pip install --process-dependency-links -e

Once this project is published on PyPI, you can install by using

pip install arpes

You will need to install into a Python interpreter with version 3.5 or higher. Note that the –process-dependency-links directive appears in both commands and is necessary in order to include a patched version of the Igor interop library. If you have a newer version of pip, you might not be able to use -process-dependency-links as the pip team has deprecated this option. Please consult the FAQ for how to manually install a few extra dependencies if this is the case.

Windows Installation

Windows is not the most friendly operating system for scientific software. Although installation is absolutely possible manually, I cannot advocate Anaconda enough for Windows users, as it smooths out a lot of inhomogeneity in the process. For details on how to install manually, consult also the FAQ.

Alternative Installation

If for whatever reason you do not want to install the project as a package but would like to import it locally, legacy install instructions are available in the first section of README.legacy.rst.

This can be advantageous if you want to frequently change the package source without reinstalling. A further alternative is to clone the package and pip install from the local folder, which has the advantage of a simple installation procedure and puts the code someplace easily editable.

Additional Suggested Steps

  1. Clone or duplicate the folder structure in the repository arpes-analysis-scaffold, skipping the example folder and data if you like

  2. Install and configure standard tools like Jupyter or Jupyter Lab. Notes on installing and configuring Jupyter based installations can be found in jupyter.md

  3. Explore the documentation and example notebooks at the documentation site.

local_config.py

The local configuration allows you to override the settings that are committed to the repository and therefore shared. You can use this to as adjust settings on various interactive tools. For reference, Conrad’s looks like:

SETTINGS = {
    'interactive': {
        'main_width': 600,
        'marginal_width': 300,
        'palette': 'magma',
    },
}

IPython Kernel Customization

If you don’t want to have to import everything all the time, you should customize your IPython session so that it runs imports when you first spin up a kernel. There are good directions for how to do this online, but a short version is:

  1. Create an IPython profile, use this to start your notebooks

  2. In ~/.ipython/profile_default/ make a folder startup

  3. Add the files ~/.ipython/profile_default/startup/00-add-arpes-path.py and ~/.ipython/{Your profile}/startup/01-common-imports.ipy according to the templates in ipython_templates. See in particular note above about setting the environment variable using this file.

  4. Customize

It is important that the filenames you put are such that 00-add-arpes-path is lexographically first, as this ensures that it is executed first. The .ipy extension on 01-common-imports.ipy is also essential. Ask Conrad if any of this is confusing.

Contributing and Documentation

See the section on the docs site about contributing for information on adding to PyPES and rebuilding documentation from source.

Contact

Questions, difficulties, and suggestions can be directed to Conrad Stansbury (chstan@berkeley.edu) or added to the repository as an issue. In the case trouble, also check the FAQ.

Copyright © 2018 by Conrad Stansbury, all rights reserved.

Download files

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

Source Distribution

arpes-1.0.2.tar.gz (15.4 MB view details)

Uploaded Source

Built Distribution

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

arpes-1.0.2-py3-none-any.whl (259.0 kB view details)

Uploaded Python 3

File details

Details for the file arpes-1.0.2.tar.gz.

File metadata

  • Download URL: arpes-1.0.2.tar.gz
  • Upload date:
  • Size: 15.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for arpes-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8273db9f5cbd6323b38cb23829e7c6ffca68220b0c6f76f23ba58cfa9e676eb4
MD5 63a28f46e72cd7c8347f70c4e252149f
BLAKE2b-256 961e9940128c79581c7b9e0d56c945868ba155cc3ff68aabf347671bd5072d5e

See more details on using hashes here.

File details

Details for the file arpes-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: arpes-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 259.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for arpes-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 131511d1ab31fbe5352edadcce20153dfad53d3f170dbf173d75b73098ba9654
MD5 5902f0244e6e681563c170bc67cb17d6
BLAKE2b-256 6e7f376f8dde3717a2ead978e04884c9ee9674be57a694d78e7e299d2d066122

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