Skip to main content

Simulate 1-D and 2-D scattering form factors of prismatic objects

Project description

  • 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

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

prismformfactors-1.1.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

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

prismformfactors-1.1.0-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file prismformfactors-1.1.0.tar.gz.

File metadata

  • Download URL: prismformfactors-1.1.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.5

File hashes

Hashes for prismformfactors-1.1.0.tar.gz
Algorithm Hash digest
SHA256 506d1747ff129c7c0b46998e3823bada516699b03cbfe512917b1462fc267fbb
MD5 5673f65125f6fb78d5618a6bb9577abc
BLAKE2b-256 00fcd978f398f523ded2ebeec3affa74056e4d6440c479858e46a0ae37fd09a6

See more details on using hashes here.

File details

Details for the file prismformfactors-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for prismformfactors-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2467f10926483dc576cfb01ff04a61096acd721dfb1ce9c913559198e4c37123
MD5 c38d5a0006afe37b4dc0b66f92dd8c45
BLAKE2b-256 795b1658d7751fd2ab4be7faf9cdda83ba0a7374d63668e3cfa9f187fad37aa1

See more details on using hashes here.

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