Skip to content

Commit 6f55826

Browse files
author
jngaravitoc
committed
updating CHANGELOG
1 parent 2c71f2a commit 6f55826

3 files changed

Lines changed: 39 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66

7+
## [0.3.0] – 2026-01-06
8+
9+
### Added
10+
- Support to compute EXP coefficients from particle positions and masses.
11+
- MPI support for EXP coefficient computation.
12+
- Unit tests for EXP coefficient computation.
13+
- Spherical density profile computation using spherical `Grid3D`
14+
- Functionality to write a yaml file with the basis in `write_config`
15+
16+
### Removed
17+
- notebooks folder.
18+
719
## [0.2.3] – 2026-01-06
820

921
### Added
@@ -21,10 +33,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2133
- Support for building cylindrical basis functions.
2234
- Unit tests for the `basis` module updated to match refactored changes.
2335
- Unit tests for `Profiles` were added.
24-
- Support to compute EXP coefficients from particle positions and masses.
25-
- MPI support for EXP coefficient computation.
26-
- Unit tests for EXP coefficient computation.
27-
- Unit tests performed on a Milky Way simulated galaxy.
2836
- Matplotlib `exptools` style implemented in `utils/`.
2937
- Unit tests for the plotting style.
3038
- Grid3D tutorial

EXPtools/__init__.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# Re-export selected submodules and utilities at the package level
2-
from .basis.profiles import Profiles
3-
from .basis.basis_utils import load_basis, make_basis, write_config
2+
from .utils import Profiles, evaluate_density_profile
3+
from .basis.basis_utils import load_basis, make_basis, write_config, config_dict_to_yaml
44
from .basis.makemodel import make_model
5+
from .coefficients import compute_exp_coefs, compute_exp_coefs_parallel
56
from .utils.halo import ICHernquist
67
from .visuals import Grid3D, use_exptools_style
7-
88
# Declare the public API
99
__all__ = [
1010
"Profiles",
11+
"load_basis",
1112
"make_basis",
1213
"write_config",
13-
"make_Dfit",
14+
"config_dict_to_yaml",
1415
"make_model",
15-
"exp_coefficients",
16+
"compute_exp_coefs",
17+
"compute_exp_coefs_parallel",
1618
"ICHernquist",
17-
"load_basis",
1819
"Grid3D",
19-
"use_exptools_style"
20-
]
20+
"use_exptools_style",
21+
]
2122

pyproject.toml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ classifiers = [
2121
]
2222

2323
dependencies = [
24-
"numpy>=1.20",
24+
"numpy>=2.0",
2525
"scipy>=1.8",
2626
"astropy>=5.0",
2727
"pyyaml",
2828
"gala>=1.6",
2929
"h5py>=3.9.0",
3030
"matplotlib>=3.8",
3131
"healpy",
32-
"k3d>=2.16.1" # Make this ones optional
32+
"k3d>=2.16.1", # Make this ones optional
3333
]
3434

3535

@@ -44,6 +44,22 @@ test = [
4444
where = ["."]
4545
include = ["EXPtools", "EXPtools.*"]
4646

47+
[tool.mypy]
48+
python_version = "3.10"
49+
check_untyped_defs = true
50+
warn_unused_ignores = true
51+
warn_return_any = true
52+
53+
[[tool.mypy.overrides]]
54+
module = [
55+
"pyEXP.*",
56+
"astropy.*",
57+
"healpy.*",
58+
"k3d.*",
59+
]
60+
61+
ignore_missing_imports = true
62+
4763

4864
[tool.setuptools.package-data]
4965
EXPtools = ["visuals/*.mplstyle"]

0 commit comments

Comments
 (0)