# \[ANN\] RSDeltaSigmaPort (ΔΣ Toolbox)

**URL:** <https://discourse.julialang.org/t/ann-rsdeltasigmaport-toolbox/59297>\
**Category:** Community\
**Tags:** announcement, dsp, circuits\
**Created:** [April 14, 2021, 6:32pm UTC](https://discourse.julialang.org/t/ann-rsdeltasigmaport-toolbox/59297 "2021-04-14T18:32:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Post date:** [April 14, 2021, 6:32pm UTC](https://discourse.julialang.org/t/ann-rsdeltasigmaport-toolbox/59297/1 "2021-04-14T18:32:57Z")

</div>

(Before someone inevitably starts their own port from scratch again…)  
[RSDeltaSigmaPort.jl](https://github.com/ma-laforge/RSDeltaSigmaPort.jl): A Port of [Richard Schreier’s Delta Sigma Toolbox](https://www.mathworks.com/matlabcentral/fileexchange/19-delta-sigma-toolbox)!:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/6/86f49a3d9f9573bd21e379bcf899583b0cc13bc2.png)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/a/ea9dd3fe5416ccc8b4b42969138e82842b5798fb.png)

### Goals

- Tries to stick to the overall structure of the original toolbox.
- Not trying to alter the API to be more Julian (Some other package can use the `DeltaSigma.jl` package name for that).
- Julia port should make it easier to develop/manipulate models (Julia still has many language advantages over alternatives).

### Features

- Trying to improve readability by using Julia features and abstracting away plotting details.

### Status

Ported the following high-level functions:

- `evalTF`
- `calculateSNR` , `peakSNR` , `predictSNR`
- `synthesizeNTF`
- `simulateSNR` , `simulateDSM`

And demos:

- `dsdemo1` , `dsdemo2`

See link: “[Notebooks](https://github.com/ma-laforge/FileRepo/tree/master/RSDeltaSigmaPort/notebook)” for a Jupyter preview (with outputs) of what can be done.  
\*(stored on an adjacent repo to avoid bloating the code repo).

_ **Status described here might be out of date** _. See repo for more up-to-date info.

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [April 15, 2021, 3:29am UTC](https://discourse.julialang.org/t/ann-rsdeltasigmaport-toolbox/59297/2 "2021-04-15T03:29:09Z")

</div>

I don’t see any information about what the package is for for those of us who have no idea what delta sigma is.

I didn’t think that anything could be worse than abbreviations in package names (or in general), but I hadn’t reckoned with abbreviations in Greek!

---

<div class="post-metadata">

**Author:** ![purplishrock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/purplishrock/32/13451_2.png) [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Post date:** [April 15, 2021, 4:46am UTC](https://discourse.julialang.org/t/ann-rsdeltasigmaport-toolbox/59297/3 "2021-04-15T04:46:14Z")

</div>

it’s a package for designing and analyzing delta-sigma converters.

> **[Delta-sigma modulation](https://en.wikipedia.org/wiki/Delta-sigma_modulation)**
>
> Delta-sigma (ΔΣ; or sigma-delta, ΣΔ) modulation is an oversampling method for encoding signals into low bit depth digital signals at a very high sample-frequency as part of the process of delta-sigma analog-to-digital converters (ADCs) and digital-to-analog converters (DACs). Delta-sigma modulation achieves high quality by utilizing a negative feedback loop during quantization to the lower bit depth that continuously corrects quantization errors and moves quantization noise to higher frequencie...

---

<div class="post-metadata">

**Author:** ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Post date:** [April 24, 2021, 9:52pm UTC](https://discourse.julialang.org/t/ann-rsdeltasigmaport-toolbox/59297/4 "2021-04-24T21:52:53Z")

</div>

> [@dpsanders](#):
>
> I don’t see any information about what the package is for for those of us who have no idea what delta sigma is.

Sorry about that. I know people who work in the field would recognize it as a tool to simulate ΔΣ-modulator circuits (well known circuit in its field). But then I incorrectly figured those who didn’t know what it meant would just ignore it.

I wasn’t really thinking someone might want a better description to figure out if they might have a use for this toolbox.
