Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update general configurations and synchrotron configs | Aaron LI | 2016-10-03 | 2 | -1/+12 | |
| | ||||||
* | Add preliminary Galactic synchrotron simulation support. | Aaron LI | 2016-10-03 | 1 | -0/+204 | |
| | | | | NOTE: untested | |||||
* | utils/logging.py: Close handler before removing | Aaron LI | 2016-10-02 | 1 | -0/+3 | |
| | ||||||
* | configs: Add sample config spec for galactic components | Aaron LI | 2016-10-02 | 1 | -0/+30 | |
| | ||||||
* | configs: Add new sections to "00-general.conf.spec" | Aaron LI | 2016-10-02 | 1 | -0/+66 | |
| | | | | | | | | These new sections added: * common * frequency * output * cosmology | |||||
* | configs/manager.py: Add "getn()" method to get multi-level config value | Aaron LI | 2016-10-02 | 1 | -0/+25 | |
| | ||||||
* | configs/manager.py: Refactor "get()" method and remove "set()" | Aaron LI | 2016-10-02 | 1 | -8/+1 | |
| | ||||||
* | configs: Update comments for the logging configs | Aaron LI | 2016-10-02 | 1 | -2/+6 | |
| | ||||||
* | Rewrite the Makefile to add virtualenv support. | Aaron LI | 2016-09-30 | 2 | -7/+24 | |
| | | | | Thanks: http://blog.bottlepy.org/2012/07/16/virtualenv-and-makefiles.html | |||||
* | configs/manager.py: Make "validate()" method private. | Aaron LI | 2016-09-30 | 1 | -8/+8 | |
| | | | | Also unify the quote style. | |||||
* | configs/manager.py: Update docstrings. | Aaron LI | 2016-09-30 | 1 | -2/+21 | |
| | | | | The NumPy docstring style is used. | |||||
* | Remove origin sample files: core.py, helpers.py | Aaron LI | 2016-09-30 | 2 | -9/+0 | |
| | ||||||
* | setup.py: Add missing install requirement "configobj" | Aaron LI | 2016-09-30 | 1 | -0/+1 | |
| | ||||||
* | setup.py: Check Python >= 3.4 before installation | Aaron LI | 2016-09-30 | 1 | -0/+6 | |
| | ||||||
* | utils/logging.py: Save existing formatter for new handlers | Aaron LI | 2016-09-29 | 1 | -0/+5 | |
| | | | | | | | By saving the existing formatter and setting for the new handlers, the configured format styles are kept. Otherwise, the newly created handlers does not have a formatter, thus the default format style gets used. | |||||
* | utils/logging: reset handlers before initialization/reconfiguration | Aaron LI | 2016-09-29 | 2 | -3/+16 | |
| | | | | Also improve the comments. | |||||
* | Merge branch 'master' into logging | Aaron LI | 2016-09-29 | 1 | -0/+11 | |
|\ | ||||||
| * | CONTRIBUTING.md: Add Python documentation guidelines | Aaron LI | 2016-09-29 | 1 | -0/+11 | |
| | | ||||||
* | | Add logging support for "healpix2hpx" & "hpx2healpix" | Aaron LI | 2016-09-29 | 3 | -6/+64 | |
| | | | | | | | | | | | | * Argument "--log" control the log level * Argument "--logfile" to log the messages to file * Argument "--quiet" to disable logging messages to screen | |||||
* | | utils/logging.py: Hack the "filemode" arg of "basicConfig()" | Aaron LI | 2016-09-29 | 1 | -1/+4 | |
| | | | | | | | | | | "logging.basicConfig()" does NOT accept parameter "filemode" if the corresponding paramter "filename" NOT specified. | |||||
* | | utils/healpix.py: Fix logger name | Aaron LI | 2016-09-29 | 1 | -1/+1 | |
| | | ||||||
* | | setup_logging(): Add parameter "level" | Aaron LI | 2016-09-29 | 1 | -2/+14 | |
| | | | | | | | | Also fix a bug about parameter "stream". | |||||
* | | utils/healpix.py: Add various log INFO messages | Aaron LI | 2016-09-29 | 1 | -6/+22 | |
| | | | | | | | | Also fix a bug about "append_comment". | |||||
* | | Add utility "setup_logging()" to setup/update logging | Aaron LI | 2016-09-29 | 2 | -0/+71 | |
| | | | | | | | | | | | | This "setup_logging()" utility can setup the logging module with the given configuration dict, and can also update the logging configs by specify the additional parameters. | |||||
* | | configs/manager.py: Add "filemode" to the logging dict | Aaron LI | 2016-09-29 | 1 | -1/+3 | |
| | | ||||||
* | | configs: Minor adjustment to logging format | Aaron LI | 2016-09-29 | 1 | -1/+1 | |
| | | ||||||
* | | configs: Fix ConfigError and disable interpolation | Aaron LI | 2016-09-29 | 1 | -3/+9 | |
| | | | | | | | | | | | | Since we do not use string interpolation in configs, so disable this feature, otherwise `MissingInterpolationOption` error happens due to the "logging" configs which contains string formats. | |||||
* | | configs: Add default config spec for logging | Aaron LI | 2016-09-29 | 1 | -0/+34 | |
| | | ||||||
* | | configs/manager.py: Add property "logging" | Aaron LI | 2016-09-29 | 1 | -2/+28 | |
|/ | | | | | | | This "logging" property get and perpare the configurations for `logging.basicConfig()` use. Needs testing. | |||||
* | Implement the basic ConfigManger() | Aaron LI | 2016-09-27 | 2 | -0/+80 | |
| | | | | | | | | This is very basic at the moment, and needs many improvements. Thanks: https://github.com/pazz/alot TODO: Add config specifications with default values | |||||
* | setup.py: add classifier and requirements | Aaron LI | 2016-09-27 | 1 | -2/+31 | |
| | ||||||
* | Python 3.4 should be supported | Aaron LI | 2016-09-27 | 1 | -1/+1 | |
| | ||||||
* | Update .gitignore for Python package repo | Aaron LI | 2016-09-27 | 1 | -5/+13 | |
| | ||||||
* | README.rst: note that only Python 3 is supported | Aaron LI | 2016-09-27 | 1 | -0/+4 | |
| | ||||||
* | Rewrite setup.py and update __init__.py accordingly | Aaron LI | 2016-09-27 | 2 | -22/+18 | |
| | ||||||
* | Remove ".py" extension for bin scripts | Aaron LI | 2016-09-27 | 2 | -0/+0 | |
| | ||||||
* | utils/healpix.py: remove duplicated header | Aaron LI | 2016-09-27 | 1 | -2/+0 | |
| | ||||||
* | Add console scripts healpix2hpx.py and hpx2healpix.py | Aaron LI | 2016-09-27 | 2 | -0/+124 | |
| | ||||||
* | utils/healpix.py: HEALPix data and HPX projection conversions | Aaron LI | 2016-09-27 | 2 | -0/+344 | |
| | | | | | | | | | * healpix2hpx: reorganize HEALPix data in HPX projection * hpx2healpix: recover the HEALPix data from HPX projection Thanks: M. Calabretta: WCSLIB: HPXcvt TODO: Add test codes | |||||
* | __init__.py: add __url__ and minor fix | Aaron LI | 2016-09-27 | 1 | -2/+1 | |
| | ||||||
* | Update requirements.txt | Aaron LI | 2016-09-25 | 1 | -0/+3 | |
| | ||||||
* | Add logging and update setup configs | Aaron LI | 2016-09-25 | 2 | -2/+29 | |
| | ||||||
* | README.rst: fix a link | Aaron LI | 2016-09-21 | 1 | -1/+1 | |
| | ||||||
* | README.rst: fix links | Aaron LI | 2016-09-21 | 1 | -2/+2 | |
| | ||||||
* | Setup package structures | Aaron LI | 2016-09-20 | 10 | -0/+85 | |
| | | | | | Credit: https://github.com/kennethreitz/samplemod TODO: Add the 'docs' part | |||||
* | Change README using reStructuredText syntax | Aaron LI | 2016-09-20 | 2 | -31/+35 | |
| | ||||||
* | Minor revisions to CONTRIBUTING.md | Aaron LI | 2016-09-09 | 1 | -7/+9 | |
| | ||||||
* | README.md: add contributions section | Aaron LI | 2016-09-09 | 1 | -1/+5 | |
| | ||||||
* | Add CONTRIBUTING.md to guide contributions. | Aaron LI | 2016-09-09 | 1 | -0/+130 | |
| | | | | | | | | | | This contribution guidelines largely based on the guidelines of the following two projects: * [bootstrap](https://github.com/twbs/bootstrap) * [caffe](https://github.com/BVLC/caffe) Thanks them! | |||||
* | README.md: explain license for the documentations | Aaron LI | 2016-09-09 | 1 | -2/+3 | |
| |