Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Provides the object bz, that defines a lattice in mometum space.

Project description

Brillouin Zone

.. contents::
.. section-numbering::
.. raw:: pdf

PageBreak oneColumn


This package provides an object bz, that defines a lattice in momentum (k) space
by means of the minimal wedge of the Brillouin Zone. The minimal wedge includes all
**k = (kx, ky)** *: kx in [0,pi], ky <= kx*. It is initialized by

.. code-block:: python

>>> import brillouin_zone
>>> (int)kpts )

where kpts is the number of k points in one direction (e.g. kx).

* Python 3 support
* Linus, Mac OS X and Windows support
* Documentation
* Ongoing development


#. **Phython3**

**Mac OS X**: Assuming you are using `Homebrew <>`_ as package manager

.. code-block:: bash

# Install Python3
$ brew install python3

# Get access to the scientific Python formulas
$ brew tap Homebrew/python

# Install Numpy and Matplotlib
$ brew install numpy --with-python3
$ brew install matplotlib --with-python3

#. **Boost-Python**

**Mac OS X**:

.. code-block:: bash

# Insatll Boost
$ brew install boost

# Install Boost-Python for Python3
$ brew install boost-python --with-python3 --without-python

#. **Pip3**: This is probably already installed, but if not please check
the `official site <>`_.

.. code-block:: bash

# Check if installed
$ pip3

#. Set **g++** as compiler

.. code-block:: bash

# Install g++
$ brew install gcc

# **ATTENTION**: This may be the only step everyone needs to do!
$ export CC=g++

I am sorry for the inconvenience here. checks the enviroment
variable CC for the compiler and the default clang won't do.

Get the package

A universal installation method (that works on **Windows**, **Mac OS X**, **Linux**, ...) is
to use **pip3**:

.. code-block:: bash

# Update setuptools used by python
$ pip3 install -U setuptools

# Download and install the package
$ pip3 install brillouin-zone

Development version

This README and version currently undergoes heavy changes.


padefit - A package providing the objects selfenergy and greensfunctions as well
as all functions needed to perfom an analytic continuation from the
Matsubara axis to the real axis by means of a Pade Approximation.






Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
brillouin_zone-1.1.5-cp35-cp35m-macosx_10_12_x86_64.whl (60.1 kB) Copy SHA256 hash SHA256 Wheel 3.5 Nov 29, 2016
brillouin-zone-1.1.5.tar.gz (8.6 kB) Copy SHA256 hash SHA256 Source None Nov 29, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page