Skip to main content
  • This package allows the simulation of the scattering intensity and form factor of particles in the shape of a right prism with a regular polygon cross section with any number of sides. Both 1D intensity profile and 2D images can be simulated.
  • Parameters for describing the shape are the length $L$ of the right prism, the number $n$ of the regular polygon cross section and the edge length $E$ of the polygon. Alternatively, the average radius $R_{ave}$ can be used instead of $E$.
  • It can also be used with the ipywidgets package to manually fit experimental data with the provided models.

Installation

Package installation can be done using pip command:

pip install prismformfactors

as the package is available on PyPI (https://pypi.org/project/prismformfactors).

Example

add .dat file

and jupyter notebook (with many comments)

make the modification about $\sigma_L$ and $\sigma_w$ in vizualize

References

Created on September 5th, 2024 and revised on January 24th, 2025

Creator: Marianne Impéror and Jules Marcone

Original Contributors: Marianne Impéror and Jules Marcone

Metadata

Release files for prismformfactors 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prismformfactors 1.1.0
File Size Uploaded
prismformfactors-1.1.0.tar.gz 33.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prismformfactors 1.1.0
File Interpreter ABI Platform
prismformfactors-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.5 kB

Release files / prismformfactors-1.1.0.tar.gz

Download URL prismformfactors-1.1.0.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
506d1747ff129c7c0b46998e3823bada516699b03cbfe512917b1462fc267fbb
BLAKE2b-256 checksum
How to use checksums
00fcd978f398f523ded2ebeec3affa74056e4d6440c479858e46a0ae37fd09a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.5

Release files / prismformfactors-1.1.0-py3-none-any.whl

Download URL prismformfactors-1.1.0-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2467f10926483dc576cfb01ff04a61096acd721dfb1ce9c913559198e4c37123
BLAKE2b-256 checksum
How to use checksums
795b1658d7751fd2ab4be7faf9cdda83ba0a7374d63668e3cfa9f187fad37aa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release 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