Skip to main content

benanalysis

Bentham Instruments spectral analysis library.

Compatibility

Wheels are built for python versions 3.12 - 3.14, for these systems:

  • Windows: win32, amd64
  • Linux: x86, x86_64
  • MacOS >10.9, universal2 (combined x86_64, arm64, requires pip version > 20.6 on intel, >21.0.1 on Apple Silicon)

Note: Apple silicon build has not been tested.

Installation

pip install benanalysis

Building from source

For local development (building the C++ core + the Python extension + docs), see:

  • BenAnalysis/src/benanalysis-python/README.md in the repository.

Usage

import benanalysis as ba

# Create scans from (wavelength, value) data
scan1 = ba.Scan([400, 410, 420], [1.0, 2.0, 3.0])
scan2 = ba.Scan([405, 415], [10.0, 20.0])

# Arithmetic operators are supported (scan-scan and scan-scalar)
scaled = 2.0 * scan1 + 1.0

# The wavelength grid of Scan/Scan operations depends on interpolation:
# - If interpolation is disabled on both scans, results use only shared wavelengths.
# - If either scan is interpolated, results are evaluated on wavelengths in the overlap
#   region where both scans can be evaluated without extrapolation.
scan1.interpolation = ba.Interpolation.LINEAR
scan2.interpolation = ba.Interpolation.LINEAR
combined = scan1 + scan2

print(combined.wavelengths())

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

benanalysis-4.2.0-cp314-cp314t-win_amd64.whl (638.9 kB view details)

Uploaded CPython 3.14tWindows x86-64

benanalysis-4.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (648.1 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

benanalysis-4.2.0-cp314-cp314t-macosx_11_0_arm64.whl (510.9 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

benanalysis-4.2.0-cp314-cp314-win_amd64.whl (627.7 kB view details)

Uploaded CPython 3.14Windows x86-64

benanalysis-4.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (664.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

benanalysis-4.2.0-cp314-cp314-macosx_11_0_arm64.whl (479.3 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

benanalysis-4.2.0-cp313-cp313-win_amd64.whl (612.0 kB view details)

Uploaded CPython 3.13Windows x86-64

benanalysis-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (663.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

benanalysis-4.2.0-cp313-cp313-macosx_11_0_arm64.whl (481.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

benanalysis-4.2.0-cp312-cp312-win_amd64.whl (612.0 kB view details)

Uploaded CPython 3.12Windows x86-64

benanalysis-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (663.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

benanalysis-4.2.0-cp312-cp312-macosx_11_0_arm64.whl (481.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file benanalysis-4.2.0-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 9a67465e367d74e11a36e9389ec0b0075aa95919e725a684c1f00d7945cfe2a1
MD5 30812df34fab1efa091af97f97d14677
BLAKE2b-256 43e02530272db3fd95f6a27ac04552c7194a1b714960ae6238dd5028c474ecad

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp314-cp314t-win_amd64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1102e66d63f773f0de9ce5b2b13ef70c4d4d4313e7a9a1f1e5576fb87a55f7dd
MD5 8e692f9c40efafa432ae9f6559a29688
BLAKE2b-256 d30041e899aa0cfed34745092b15132021a92e85a42dea70ddc7a0f4cbdbf9be

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1fb657f1e60801b0fa13eb6169e2d1b2e68f5bc88b6f3a033f03044320280f35
MD5 f2ebf6c2070b9df9d7bc0cccfae673cc
BLAKE2b-256 11755c34b03c4ec6e1ce497cc959a73db9c2081669d89d1745af3f2510d295d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 75496b6a13c6227f102d3b74d62190296a55cb5593d4c22adc34246a52164942
MD5 c258ba4644538edf3887cf8e1add7c1a
BLAKE2b-256 773bf3c71748ba3b35d292746b36aa7de0a347f14f9bc270bfb0de516443cc3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp314-cp314-win_amd64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc13778efe0b6f14927f0cba96a7ad5d8a7314d2a152cb3305a5039fb5cf68c9
MD5 84431ca0c7c1e532393d6580a96c1d99
BLAKE2b-256 e05616d12a02b372b9426ce797f59a13f18dbb7f8fcad8b87e81f34eebf2e545

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a43631be7d6ec8bc2a9e6979f9b73e614963a47388a0e01c023b01c8119d43e5
MD5 d9e8cf3ccc6a97d72281c549ed0c1c6f
BLAKE2b-256 988cac2246fb02ecf27ac911074b938b3a3da0f1d4a1de6d136f5b4a267ab785

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3da80b975038972b031747fca0646f48335006d96cbadab37eb99b244f5f7556
MD5 6a0a64d70c2b2e12bfce7fb668e7bb5b
BLAKE2b-256 074a2ed21d6008fc1766cba3b1d23f70eed03bae60ae02fa5ab56c2962d02008

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18de632678055f7c613e2944f01e1ea698524fcc647d54243f83b5847e5b6dbb
MD5 4fd1c243823326033474ab873d8fba5c
BLAKE2b-256 79240516399e91ed2d9c1cd1777eaa8a17fd5ee0797e54b7ac4c89bb245b1ebc

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19278572b7be80a3d464c927fdfff038432e38e6b1fe787610000202cf6d93eb
MD5 acd77a87760f845098cf1bc6ba001d47
BLAKE2b-256 45185b87eb04a6cb4ad3e961aa347531e932932736f6e1aeefdf98f91f0924d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 98d68c5ae46b5d5b8538bb6c8ce67be013a3a44bdc332066c67138fe620a23e8
MD5 2b13380d177c6cd06b38d343db1e976d
BLAKE2b-256 188c4b499b7fbdb5aaddd4bc66ad0695842c677e5d6ef176c2493f07054dbc9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9be85bbd5362f5d4c7936c5af92f7ba4930132d27879a8397d21934c19932ed4
MD5 5c1cff6816afe06aa13cca5de31462f2
BLAKE2b-256 088c5fcea5fe16f79d2f0627d6e6d948e6ae75a4bc739a1003a268725264c438

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

File details

Details for the file benanalysis-4.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for benanalysis-4.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfa8c59b49957593bc904d956ba1114305ad0fa42cdd7a8c19b448b21fdde93a
MD5 b2eb5f1ab14bb98b69a38aa9bfa3d7f0
BLAKE2b-256 f691659dbd9a2c8d826b7d8b47fedcd3b763c83651699aba095387f134318c36

See more details on using hashes here.

Provenance

The following attestation bundles were made for benanalysis-4.2.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: wheels.yml on BenthamInstruments/BenAnalysis

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

Release history Release notifications | RSS feed

This release

4.2.0 This release

12 files

4.1.5

12 files

4.1.4

6 files

4.1.3

6 files

4.1.2

6 files

4.0.26

9 files

4.0.25

9 files

4.0.24

9 files

4.0.23

12 files

4.0.22

12 files

4.0.21

12 files

4.0.20

12 files

4.0.18

12 files

4.0.15

12 files

4.0.14

12 files

4.0.13

4 files

4.0.11

12 files

4.0.10

12 files

4.0.9

12 files

4.0.7

12 files

4.0.6

12 files

4.0.5

12 files

4.0.4

9 files

4.0.3

9 files

4.0.2

9 files

4.0.1

9 files

4.0.0

9 files

3.3.0

3 files

3.1.0

3 files

3.0.0

20 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page