pynanovnav2-tspspi


Namepynanovnav2-tspspi JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/tspspi/pynanovnav2
SummaryNanoVNA2 Python libraries and tools (unofficial)
upload_time2024-01-10 11:53:14
maintainer
docs_urlNone
authorThomas Spielauer
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Unofficial NanoVNA v2 USB Python library and tools

__This library is work in progress__

This is a small library that allows to access the NanoVNA v2 vector network
analyzer using Python. It implements the ```VectorNetworkAnalyzer```
base class of [pylabdevs](https://github.com/tspspi/pylabdevs) (since this
is work in progress there is currently an unfinished copy in this repository).

## Tools

### ```nanovnav2fetch```

The ```nanovnav2fetch``` is a very simple command line utility that
allows one to fetch the S00 and S01 parameters as well as phases
from the NanoVNA v2. Note that this utility always depends on ```numpy```
and requires ```matplotlib``` to plot or show the traces.

```
$ nanovnav2fetch --help
usage: nanovnav2fetch [-h] [--port PORT] [--debug] [--s00] [--s01] [--phases]
                      [--show] [--plot [PLOT ...]] [--plottitle PLOTTITLE]
                      [--label00 LABEL00] [--label01 LABEL01] [--npz NPZ]
                      [--start START] [--end END] [--step STEP]

NanoVNA v2 USB fetching utility

optional arguments:
  -h, --help            show this help message and exit
  --port PORT           Port to access the NanoVNA v2 (default: /dev/ttyU0)
  --debug               Enable debug mode on the NanoVNA v2
  --s00                 Gather S00 values
  --s01                 Gather S01 values
  --phases              Gather phases for all enabled channels
  --show                Display the rendered graphics (requires matplotlib)
  --plot [PLOT ...]     Supply filename that will be used to plot graphics
                        (required matplotlib)
  --plottitle PLOTTITLE
                        Title for the plot
  --label00 LABEL00     Label for the S00 parameter
  --label01 LABEL01     Label for the S01 parameter
  --npz NPZ             Dump data into supplied NPZ file
  --start START         Start frequency in Hz (default: 50 MHz)
  --end END             End frequency in Hz (default: 4.4 GHz)
  --step STEP           Step size in Hz (default: 1 kHz)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tspspi/pynanovnav2",
    "name": "pynanovnav2-tspspi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Thomas Spielauer",
    "author_email": "pypipackages01@tspi.at",
    "download_url": "https://files.pythonhosted.org/packages/ef/23/07578e7cb4cd406448394cbec62f1c959eadae1646b210934d827919e36b/pynanovnav2-tspspi-0.0.1.tar.gz",
    "platform": null,
    "description": "# Unofficial NanoVNA v2 USB Python library and tools\n\n__This library is work in progress__\n\nThis is a small library that allows to access the NanoVNA v2 vector network\nanalyzer using Python. It implements the ```VectorNetworkAnalyzer```\nbase class of [pylabdevs](https://github.com/tspspi/pylabdevs) (since this\nis work in progress there is currently an unfinished copy in this repository).\n\n## Tools\n\n### ```nanovnav2fetch```\n\nThe ```nanovnav2fetch``` is a very simple command line utility that\nallows one to fetch the S00 and S01 parameters as well as phases\nfrom the NanoVNA v2. Note that this utility always depends on ```numpy```\nand requires ```matplotlib``` to plot or show the traces.\n\n```\n$ nanovnav2fetch --help\nusage: nanovnav2fetch [-h] [--port PORT] [--debug] [--s00] [--s01] [--phases]\n                      [--show] [--plot [PLOT ...]] [--plottitle PLOTTITLE]\n                      [--label00 LABEL00] [--label01 LABEL01] [--npz NPZ]\n                      [--start START] [--end END] [--step STEP]\n\nNanoVNA v2 USB fetching utility\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --port PORT           Port to access the NanoVNA v2 (default: /dev/ttyU0)\n  --debug               Enable debug mode on the NanoVNA v2\n  --s00                 Gather S00 values\n  --s01                 Gather S01 values\n  --phases              Gather phases for all enabled channels\n  --show                Display the rendered graphics (requires matplotlib)\n  --plot [PLOT ...]     Supply filename that will be used to plot graphics\n                        (required matplotlib)\n  --plottitle PLOTTITLE\n                        Title for the plot\n  --label00 LABEL00     Label for the S00 parameter\n  --label01 LABEL01     Label for the S01 parameter\n  --npz NPZ             Dump data into supplied NPZ file\n  --start START         Start frequency in Hz (default: 50 MHz)\n  --end END             End frequency in Hz (default: 4.4 GHz)\n  --step STEP           Step size in Hz (default: 1 kHz)\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "NanoVNA2 Python libraries and tools (unofficial)",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/tspspi/pynanovnav2"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6384c7b386f69b60fae4797391636ae30cbb73e4b6679a4587fa082dee3f6d29",
                "md5": "8d516c9b44efd108c42a9e89a5e2ed60",
                "sha256": "f7c895bf6878858a4646adc91090f2e0728dd03ed381f511b03ec1c0bdce597e"
            },
            "downloads": -1,
            "filename": "pynanovnav2_tspspi-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d516c9b44efd108c42a9e89a5e2ed60",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 12023,
            "upload_time": "2024-01-10T11:53:12",
            "upload_time_iso_8601": "2024-01-10T11:53:12.305777Z",
            "url": "https://files.pythonhosted.org/packages/63/84/c7b386f69b60fae4797391636ae30cbb73e4b6679a4587fa082dee3f6d29/pynanovnav2_tspspi-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef2307578e7cb4cd406448394cbec62f1c959eadae1646b210934d827919e36b",
                "md5": "ebf710ade5c723267408f9013f55265e",
                "sha256": "1f7d03ed74d2f7404af013d6269b0ee8766d0923bb3fef22e405ae159776ebe3"
            },
            "downloads": -1,
            "filename": "pynanovnav2-tspspi-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ebf710ade5c723267408f9013f55265e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 11570,
            "upload_time": "2024-01-10T11:53:14",
            "upload_time_iso_8601": "2024-01-10T11:53:14.368576Z",
            "url": "https://files.pythonhosted.org/packages/ef/23/07578e7cb4cd406448394cbec62f1c959eadae1646b210934d827919e36b/pynanovnav2-tspspi-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-10 11:53:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tspspi",
    "github_project": "pynanovnav2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pynanovnav2-tspspi"
}
        
Elapsed time: 0.21862s