From 82730dc2785477d84f758652acb8049a66ee5cb9 Mon Sep 17 00:00:00 2001 From: Mike Gevaert Date: Fri, 17 May 2024 10:32:59 +0200 Subject: [PATCH] update changelog --- CHANGELOG.rst | 30 ++++++++++++++++++++++++++++ README.rst | 1 + atlas_densities/densities/fitting.py | 1 - 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5b0ff09..29bc6a7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,11 +1,41 @@ Changelog ========= +Version 0.2.6 +------------- +* Updating regression requirements, teach + `atlas-densities cell-densities fit-average-densities` to have `--min-data-points` (#81) + +Version 0.2.5 +------------- + +* Fix nans in compute_region_volumes (#80) + +Version 0.2.4 +------------- + +* Add r_square values to the results of the fitting. (#68) +* Add check to the region filter in case the input dataset is all equal to 0 for the region of interest. (#74) +* Fix fitting and optimization steps (#75) +* Faster _compute_region_cell_counts (#72) +* Cleanup app tests (#78) +* Faster compute average intensities (#73) +* Speedup mtype density creation from probability maps using voxcell's ValueToIndexVoxels (#79) + +Version 0.2.3 +------------- + +* remove pkg_resources, use importlib (#62) +* Drop literature values from regions that are not in hierarchy or not in the annotation volume (#61) + Version 0.2.2 +------------- + * add ``atlas-densities combination manipulate`` Version 0.2.1 ------------- + * The following *cell-density* sub-commands can now optionally take a ``--group-ids-config-path``: *cell-density*, *glia-cell-densities*, *inhibitory-and-excitatory-neuron-densities*, *fit-average-densities* diff --git a/README.rst b/README.rst index 7b3d708..0224a25 100644 --- a/README.rst +++ b/README.rst @@ -286,6 +286,7 @@ respective standard deviation and `coefficient of determination`_ (`r_square`). --fitted-densities-output-path=data/ccfv2/first_estimates/first_estimates.csv \ --fitting-maps-output-path=data/ccfv2/first_estimates/fitting.json +Note: One can use the ``--min-data-points`` to require a minimum of points for the linear regression; the default is 1. Compute inhibitory/excitatory neuron densities ---------------------------------------------- diff --git a/atlas_densities/densities/fitting.py b/atlas_densities/densities/fitting.py index 6f41705..4f6fe0b 100644 --- a/atlas_densities/densities/fitting.py +++ b/atlas_densities/densities/fitting.py @@ -396,7 +396,6 @@ def linear_fitting_xy( Raises: AtlasDensitiesError if some of the `sigma`values are negative. """ - if len(xdata) < min_data_points: return {"coefficient": np.nan, "standard_deviation": np.nan, "r_square": np.nan}