Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/audit' into audit
Browse files Browse the repository at this point in the history
  • Loading branch information
lcgraham committed May 15, 2015
2 parents 7246a38 + e286dc0 commit 7beb7ef
Show file tree
Hide file tree
Showing 39 changed files with 85 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bet/Comm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This module provides a workaround for people without mpi4py installed
to run BET.
Expand Down
2 changes: 2 additions & 0 deletions bet/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

__all__ = ['sampling', 'calculateP', 'postProcess', 'loadBalance', 'util','Comm']
2 changes: 2 additions & 0 deletions bet/calculateP/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

r"""
This subpackage provides classes and methods for calulating the
probability measure :math:`P_{\Lambda}`.
Expand Down
2 changes: 2 additions & 0 deletions bet/calculateP/calculateP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

r"""
This module provides methods for calulating the probability measure
:math:`P_{\Lambda}`.
Expand Down
2 changes: 2 additions & 0 deletions bet/calculateP/simpleFunP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This module provides methods for creating simple funciton approximations to be
used by :mod:`~bet.calculateP.calculateP`.
Expand Down
2 changes: 2 additions & 0 deletions bet/calculateP/voronoiHistogram.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# -*- coding: utf-8 -*-
"""
This module provides methods for creating the edges and generating point for
Expand Down
2 changes: 2 additions & 0 deletions bet/postProcess/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

r"""
This subpackage contains
Expand Down
2 changes: 2 additions & 0 deletions bet/postProcess/plotDomains.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This module provides methods used to plot two-dimensional domains and/or
two-dimensional slices/projections of domains.
Expand Down
2 changes: 2 additions & 0 deletions bet/postProcess/plotP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This module provides methods for plotting probabilities.
"""
Expand Down
2 changes: 2 additions & 0 deletions bet/postProcess/postTools.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This module provides methods for postprocessing probabilities and data.
"""
Expand Down
2 changes: 2 additions & 0 deletions bet/sampling/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This subpackage contains
Expand Down
2 changes: 2 additions & 0 deletions bet/sampling/adaptiveSampling.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# -*- coding: utf-8 -*-
# Lindley Graham 3/10/2014
"""
Expand Down
2 changes: 2 additions & 0 deletions bet/sampling/basicSampling.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Lindley Graham 4/15/2014
"""
This module contains functions for sampling. We assume we are given access to a
Expand Down
2 changes: 2 additions & 0 deletions bet/util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
The module contains general tools for BET.
"""
Expand Down
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# -*- coding: utf-8 -*-
#
# BET documentation build configuration file, created by
Expand Down
2 changes: 2 additions & 0 deletions examples/fromADCIRCMap/Q_1D_serial.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

import bet.calculateP.calculateP as calcP
import bet.calculateP.simpleFunP as sfun
import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/fromADCIRCMap/Q_2D_parallel.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

import bet.calculateP.calculateP as calcP
import bet.calculateP.simpleFunP as sfun
import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/fromADCIRCMap/Q_2D_serial.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

import bet.calculateP.calculateP as calcP
import bet.calculateP.simpleFunP as sfun
import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/fromADCIRCMap/Q_3D_serial.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

import bet.calculateP.calculateP as calcP
import bet.calculateP.simpleFunP as sfun
import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions examples/fromADCIRCMap/adaptive_2D.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# import necessary modules
import polyadcirc.run_framework.domain as dom
import polyadcirc.run_framework.random_wall_Q as rmw
Expand Down
3 changes: 3 additions & 0 deletions examples/fromADCIRCMap/adaptive_3D.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# import necessary modules
import polyadcirc.run_framework.domain as dom
import polyadcirc.run_framework.random_wall_Q as rmw
Expand Down
3 changes: 3 additions & 0 deletions examples/fromFileMap/fromFile2D.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# import necessary modules
import numpy as np
import bet.sampling.adaptiveSampling as asam
Expand Down
3 changes: 3 additions & 0 deletions examples/fromFileMap/sandbox_test_2D.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# import necessary modules
import numpy as np
import polyadcirc.pyADCIRC.basic as basic
Expand Down
3 changes: 3 additions & 0 deletions examples/fromFileMap/sandbox_test_3D.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# -*- coding: utf-8 -*-
# import necessary modules
import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions examples/linearMap/linearMapUniformSampling.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This example generates uniform samples on a 3D grid
and evaluates a linear map to a 2d space. Probabilities
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env python

# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

'''
The python script for building the BET package and subpackages.
'''
Expand Down
2 changes: 2 additions & 0 deletions test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This package contains all of the tests for :program:`BET`. The package
structure mirrors the ``bet`` package structure.
Expand Down
2 changes: 2 additions & 0 deletions test/test_Comm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Lindley Graham 04/07/2015
"""
This module contains unittests for :mod:`~bet.Comm`
Expand Down
2 changes: 2 additions & 0 deletions test/test_calculateP/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This package contains all of the tests for :program:`BET`. The package
structure mirrors the ``bet`` package structure.
Expand Down
2 changes: 2 additions & 0 deletions test/test_calculateP/test_calculateP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Steven Mattis and Lindley Graham 04/06/2015
"""
This module contains tests for :module:`bet.calculateP.calculateP`.
Expand Down
2 changes: 2 additions & 0 deletions test/test_calculateP/test_simpleFunP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Lindley Graham 04/09/2015

"""
Expand Down
2 changes: 2 additions & 0 deletions test/test_calculateP/test_voronoiHistogram.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# -*- coding: utf-8 -*-
# Lindley Graham 04/12/2015
"""
Expand Down
2 changes: 2 additions & 0 deletions test/test_postProcess/test_plotDomains.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Lindley Graham 04/07/2015
"""
This module contains tests for :module:`bet.postProcess.plotDomains`.
Expand Down
2 changes: 2 additions & 0 deletions test/test_postProcess/test_plotP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Steven Mattis 04/07/2015
"""
This module contains tests for :module:`bet.postProcess.plotP`.
Expand Down
2 changes: 2 additions & 0 deletions test/test_postProcess/test_postTools.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Steven Mattis 04/07/2015
"""
This module contains tests for :module:`bet.postProcess.postTools`.
Expand Down
2 changes: 2 additions & 0 deletions test/test_sampling/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

"""
This subpackage contains the test modules for the sampling subpackage.
"""
Expand Down
2 changes: 2 additions & 0 deletions test/test_sampling/test_adaptiveSampling.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# -*- coding: utf-8 -*-
# Lindley Graham 04/07/2015

Expand Down
2 changes: 2 additions & 0 deletions test/test_sampling/test_basicSampling.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Lindley Graham 04/07/2015
"""
This module contains unittests for :mod:`~bet.sampling.basicSampling:`
Expand Down
2 changes: 2 additions & 0 deletions test/test_util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (C) 2014-2015 Lindley Graham and Steven Mattis

# Lindley Graham 04/07/2015
"""
This module contains unittests for :mod:`~bet.util`
Expand Down

0 comments on commit 7beb7ef

Please sign in to comment.