Skip to content

Commit

Permalink
Merge pull request #191 from zonca/debug_catalog
Browse files Browse the repository at this point in the history
Debug catalog implementation running Websky
  • Loading branch information
zonca authored Oct 18, 2024
2 parents c0bed53 + 5d3d2ce commit 2c7c492
Show file tree
Hide file tree
Showing 22 changed files with 10,437 additions and 282 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
3.4.1 (unreleased)
==================
- Finalized Point Source Catalog component and backgroud component https://github.com/galsci/pysm/pull/191
- Configure verbosity easily with `set_verbosity()`
- Updated `pixell` from 0.17.3 to 0.26.0 https://github.com/galsci/pysm/pull/183
- Initial implementation of a point source catalog component emission https://github.com/galsci/pysm/pull/187
- Switch the build system to Hatch https://github.com/galsci/pysm/pull/189
Expand Down
14 changes: 13 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,19 @@ Configure verbosity
-------------------

PySM uses the `logging` module to configure its verbosity,
by default it will only print warnings and errors, to configure logging
by default it will only print warnings and errors.

A log of useful information, for example intermediate results and timing can be
accessed enabling the `INFO` level of logging.
We provide a simplified function to configure this.

pysm3.set_verbosity()

By default this sets verbosity to `INFO`, otherwise you can specify a level:

pysm3.set_verbosity(logging.DEBUG)

To configure logging
you can access the "pysm3" logger with::

import logging
Expand Down
Loading

0 comments on commit 2c7c492

Please sign in to comment.