https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision ce3b8b45613b5f23102afc2b5c1a4c80d6b3ec21 authored by Bryna Hazelton on 03 June 2019, 17:41:01 UTC, committed by GitHub on 03 June 2019, 17:41:01 UTC
* update some docstrings in uvdata.py to numpy style

* update more docstrings

* fix bugs introduced by eliminating *args and **kwargs, add tests

* fix handling of multiple input parameters with the same type/description

* fix a bug from the tutorial, add tests to catch it

* fix tests to actually cover passing _key2inds a nested tuple

* un-reorder uvdata methods for ease of PR and rebasing

will make issue to re-reorder

* improve returns section handling

* Fix docstring errors Adam found

* fix key types everywhere

* fix issues introduced in rebase

* fix another rebase mistake

* and another rebase fix
1 parent 0433774
Raw File
Tip revision: ce3b8b45613b5f23102afc2b5c1a4c80d6b3ec21 authored by Bryna Hazelton on 03 June 2019, 17:41:01 UTC
Numpy style docstrings (#604)
Tip revision: ce3b8b4
__init__.py
# -*- mode: python; coding: utf-8 -*-
# Copyright (c) 2018 Radio Astronomy Software Group
# Licensed under the 2-clause BSD License

"""init file for pyuvdata.

"""
from __future__ import absolute_import, division, print_function

# Filter annoying Cython warnings that serve no good purpose. see numpy#432
# needs to be done before the imports to work properly
import warnings
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")

from .uvdata import *  # noqa
from .telescopes import *  # noqa
from .uvcal import *  # noqa
from .uvbeam import *  # noqa
from . import version  # noqa
from .uvflag import UVFlag  # noqa

__version__ = version.version
back to top