Metadata-Version: 2.4
Name: pydouble-slit
Version: 0.0.4
Summary: A small example package for double slit simulation
Author-email: Himanshu Mishra <himanshu.mishra469@nmims.in>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: matplotlib
Requires-Dist: numpy
Requires-Dist: scipy
Dynamic: license-file

# pydouble-slit

A small Python package to simulate the double slit experiment using quantum wavefunctions.

## Features

- Simulate electron detection patterns with and without slit measurement
- Visualize 2D detection histograms and 1D detection distributions
- Easily configurable slit distance, screen distance, and screen size

## Installation

You can install this package using pip (after building and uploading to PyPI):


## Usage

```python
from pydouble_slit import doubleSlit

# Create a double slit experiment instance
experiment = doubleSlit(slit_dist=1, distance_to_screen=10, screen_width=200, screen_height=100, measure_slit=False)

# Fire a single electron
experiment.fire_electron()

# Fire a beam of electrons
experiment.electron_beam(num_electrons=5000)

# Show the 2D detection screen
experiment.show_screen()

# Show the 1D histogram of detections
experiment.show_hist()

# Clear the screen for a new experiment
experiment.clear_screen()
```

## Requirements

- Python 3.9+
- numpy
- matplotlib
- scipy

## License

MIT License

## Author

Example Author  
[author@example.com](mailto:author@example.com)
