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.2.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.2-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: multipac_testbench-2.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ecdd0d99a4447bed11e2ee5885b363ad82dd289c0b054c9ed23ee9be8b256300
MD5 80e85af7c456dada804c691983530fc9
BLAKE2b-256 117101ab04fa26db8746ae2476f13ed0e5e07bea1a68f73451613f0e82891883

See more details on using hashes here.

Provenance

The following attestation bundles were made for multipac_testbench-2.0.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for multipac_testbench-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 007660a59c748f4c3f25241d87a4267491dddc974625ac5dd64232a70ea5941b
MD5 53b27b25825d9fca3306b0d5e7b244fd
BLAKE2b-256 3ebfed16d9df73499ae8692f6c35598f778ea73299877fd4732b804c441a146f

See more details on using hashes here.

Provenance

The following attestation bundles were made for multipac_testbench-2.0.2-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