Skip to content

Commit 040ea50

Browse files
authored
transform.permittivity: add functions for calculations of permittivity. (#117)
* add .vscode to gitignore * Implement permittivity. * More permittivity functions. * Fix realworld test. * docs * revert reflection * Fix reflection test - height
1 parent adb5f71 commit 040ea50

14 files changed

Lines changed: 738 additions & 40 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ dist/
66
*.egg
77
build/
88
public/
9-
docs/source/apidoc/
9+
docs/source/apidoc/
10+
.vscode/

docs/apidoc_t/module.rst_t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
{{- "**impedance**: fitting electrochemical impedance spectra" | heading }}
1313
{% elif 'dgpost.transform.mixtures' == basename %}
1414
{{- "**mixtures**: converting representations of mixtures" | heading }}
15+
{% elif 'dgpost.transform.permittivity' == basename %}
16+
{{- "**permittivity**: calculating complex permittivity" | heading }}
1517
{% elif 'dgpost.transform.rates' == basename %}
1618
{{- "**rates**: determining molar rates of chemical species" | heading }}
1719
{% elif 'dgpost.transform.reflection' == basename %}

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
sphinx_apidoc_options = autodoc_default_flags
7878

7979
intersphinx_mapping = {
80-
"dgbowl_schemas": ("https://dgbowl.github.io/dgbowl-schemas/master", None),
81-
"yadg": ("https://dgbowl.github.io/yadg/master", None),
80+
"dgbowl_schemas": ("https://dgbowl.github.io/dgbowl-schemas/main", None),
81+
"yadg": ("https://dgbowl.github.io/yadg/main", None),
8282
"matplotlib": ("https://matplotlib.org/stable", None),
8383
}

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ In addition to the above, dgpost is fully unit- and uncertainty-aware, using the
4343
apidoc/dgpost.transform.electrochemistry
4444
apidoc/dgpost.transform.impedance
4545
apidoc/dgpost.transform.mixtures
46+
apidoc/dgpost.transform.permittivity
4647
apidoc/dgpost.transform.rates
4748
apidoc/dgpost.transform.reflection
4849
apidoc/dgpost.transform.table

docs/source/version.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.. toctree::
55
:maxdepth: 1
66

7+
version.v2.4
78
version.v2.3
89
version.v2.2
910
version.v2.1

docs/source/version.v2.4.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**dgpost**-v2.4
2+
---------------
3+
4+
..
5+
.. image:: https://img.shields.io/static/v1?label=dgpost&message=v2.4&color=blue&logo=github
6+
:target: https://github.com/dgbowl/dgpost/tree/2.4
7+
.. image:: https://img.shields.io/static/v1?label=dgpost&message=v2.4&color=blue&logo=pypi
8+
:target: https://pypi.org/project/dgpost/2.4/
9+
.. image:: https://img.shields.io/static/v1?label=release%20date&message=2025-06-29&color=red&logo=pypi
10+
11+
.. sectionauthor::
12+
Peter Kraus
13+
14+
Developed in the `ConCat lab <https://tu.berlin/en/concat>`_ at Technische Universität Berlin.
15+
16+
An update to ``dgpost-2.3``, including the following changes:
17+
18+
- Added the :mod:`~dgpost.transform.permittivity` module for calculations related to complex permittivity and various corrections.
19+
- Added a ``prominence`` parameter to pruning functions in :mod:`~dgpost.transform.reflection` module, allowing users a better control of peak picking using peak prominence.
20+
- Removed the default ``height=0.2`` value used in :func:`~dgpost.transform.reflection.prune_cutoff` and :func:`~dgpost.transform.reflection.prune_gradient` functions
21+
22+
.. codeauthor::
23+
Peter Kraus

0 commit comments

Comments
 (0)