Skip to content

Commit

Permalink
config: added global config parameters to astropop
Browse files Browse the repository at this point in the history
  • Loading branch information
juliotux committed Dec 11, 2024
1 parent 229fce6 commit 690184a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions astropop/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Global configuration parameters for astropop."""


class AstropopConfig:
"""Global configuration parameters for astropop.
Attributes
----------
FRAMEDATA_SKIP_UNCERTAINTY : bool
If True, all FrameData uncertainty set will be disabled completely,
reducing memory usage.
Default is False.
FRAMEDATA_SKIP_FLAGS : bool
If True, all FrameData flags and masks set will be disabled completely
reducing memory usage.
IMARITH_SKIP_UNCERTAINTY : bool
If true, any imarith or imcombine operation will skip the uncertainty
propagation. This will increase the speed of the operation and reduce
the memory usage, but will not propagate the uncertainties.
Default is False.
"""
IMARITH_SKIP_UNCERTAINTY = False
FRAMEDATA_SKIP_UNCERTAINTY = False
FRAMEDATA_SKIP_FLAGS = False

0 comments on commit 690184a

Please sign in to comment.