What’s New in astronat v0.1?

Overview

Adopted the Astropy-affiliate template.

In particular, this release includes:

Framework

Many of these do not have a lot of functions implemented, but the framework is in place as utilities are added.

  • constants for astropy-style constants with frozen values

Config

Configuration functions: check_config, write_config, get_import_verbosity, set_import_verbosity, get_warnings_verbosity, set_warnings_verbosity, get_frozen_constants, set_frozen_constants.

All the configurations can be get / set during run-time.

There is a with version of all the configurations, for running code with a temporarily changed configurations.

Constants

Astropy constants, with a frozen version for reproducibility.

float versions of the constants accessible through values module this includes f*rozen version for reproducibility to access frozen version, set frozen-constants=True in astronat config. * - FrozenConstants for frozen constants - ConstantsValues for the values of constants.

Units

Astropy units, extended and with full AMUSE unit support.

Utils

General package utilities.

astronat.utils.typing

  • ExtendedUnitType: Units and Quantities