Skip to main content

Post-treat the data produced by the MULTIPAC test bench.

Project description

MULTIPAC testbench

This library is designed to post-treat the data from the MULTIPAC multipactor test bench at LPSC, Grenoble, France.

Installation

Users

  1. Create a dedicated Python environment, activate it.
  2. Run pip install multipac_testbench

[!NOTE] If you are completely new to Python and these instructions are unclear, check this tutorial. In particular, you will want to:

  1. Install Python 3.12 or higher.
  2. Learn to use Python environments, pipenv or virtualenv.
  3. Install a Python IDE such as Spyder or VSCode.

Developers

  1. Clone the repository: git clone git@github.com:AdrienPlacais/multipac_testbench.git
  2. Create a dedicated Python environment, activate it.
  3. Navigate to the main multipac_testbench folder and install the library with all dependencies: pip install -e .

Note that you will need Python 3.12 or higher to use the library.

If you want to use conda, you must manually install the required packages defined in pyproject.toml. Then, add multipac_testbench.src to your $PYTHONPATH environment variable.

Project info

Future updates

  • Calibration of new field probes.
  • Implementation of Retarding Field Analyzer.
    • RPA grid in V instead of kV.
  • sweet_plot updates for better RPA treatment:
    • Allow for head argument, working similarly to tail.
    • Argument to plot increasing and decreasing values differently. Useful when plotting RPA current against RPA grid voltage.
  • Option to plot maximum of a signal per power cycle.
  • Bug fix: Upper threshold is given even when we did not exit the multipactor zone.
  • Adding a post-treater to Power instruments should be reflected in SWR and ReflectionCoefficient calculations.
  • Add notebook execution to normal test workflow.
    • Add jupyter installation to pip deps for test
  • Add filtering of the 50Hz noise (for PowerStep only)
  • Interactive plots:
    • Make possible the visualization of PowerStep from a MultipactorTest, like in Labviewer.
    • Toggle raw/physical plot.
    • Post-treaters should add info to the plots: window, median, etc.
  • Bugfix: handle gracefully when an Instrument is declared in TOML but is absent from the data files. Raises bug when sweet_ploting.
  • Document the new HeaderConstant instruments

Labviewer to-do

  • Automatic export binary -> xlsx or csv
  • Automatic export of individual power step files
  • Allow to take last value from individual power step file rather than highest
  • Fix synchro of dBm column
  • Exported continuous files CSV are inconsistent with power step:
    • Continuous files:
      • ; delim
      • , floating point separator
      • Named RAW_MC_Data_YYYYMMDD_hhmmss.csv
      • Column names are different from pulsed files:
        • dBm instead of NI9205_dBm
        • MP1 instead of NI9205_MP1l
        • MP1 instead of NI9205_MP1l
          • Speaking of that... Why the l at the end of the column name?
        • Header line starts with a comment character and a space: #
    • Power step folders:
      • Stored files have \t delimiter
      • Named YYMMDD-hhmmss-blabla_RAW_CSV
    • What I would like:
      • . floating point separator
      • , column delimiter
      • Name of file/folder always start by date and time in ISO 8601-ish format:
        • 2025-12-25T13-44-21
        • Actual ISO 8601 format would be: 2025-12-25T13:44:21 but it would mess up Windows file naming conventions.
      • Complete file/folder name: <ISOdate>_informations-typed-by-usr_RAW (with .csv if it is continuous measurement)
      • Identical column names, no comment character at the start of the columns header.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multipac_testbench-2.0.1.tar.gz (27.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multipac_testbench-2.0.1-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file multipac_testbench-2.0.1.tar.gz.

File metadata

  • Download URL: multipac_testbench-2.0.1.tar.gz
  • Upload date:
  • Size: 27.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for multipac_testbench-2.0.1.tar.gz
Algorithm Hash digest
SHA256 4a8310a6e70f17018539780dcfbbe2e2e53e13bf541ab7c215343e360523031e
MD5 a980f473c0751102c35141af6b030b3e
BLAKE2b-256 7e6e6d305976cd526bac6943c72472260934ba6375903b9e0f8700be53719c34

See more details on using hashes here.

Provenance

The following attestation bundles were made for multipac_testbench-2.0.1.tar.gz:

Publisher: release.yml on AdrienPlacais/multipac_testbench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file multipac_testbench-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for multipac_testbench-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d020c8d92cb5d5ced0d0346eb1b7d416db923efdfddec302d4c2b9e9171c9fb2
MD5 eed9a75ad5cb1c0141fd4e0fc636cdf0
BLAKE2b-256 b25bd5c9174b0b6d1f701f1808c0324b03d4bacb785280cdca18bbd1631417a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for multipac_testbench-2.0.1-py3-none-any.whl:

Publisher: release.yml on AdrienPlacais/multipac_testbench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page