{"id":16693459,"url":"https://github.com/s-sajid-ali/multislice","last_synced_at":"2026-04-25T15:36:02.758Z","repository":{"id":114108262,"uuid":"101098268","full_name":"s-sajid-ali/multislice","owner":"s-sajid-ali","description":"Multislice codes for simulating xray propogation. Uses pyFFTW and numexpr for efficinecy","archived":false,"fork":false,"pushed_at":"2020-06-16T01:21:27.000Z","size":1799,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-13T22:43:52.217Z","etag":null,"topics":["multislice","synchrotron","xray"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-sajid-ali.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-22T19:08:45.000Z","updated_at":"2022-08-09T09:06:06.000Z","dependencies_parsed_at":"2023-06-13T05:15:10.424Z","dependency_job_id":null,"html_url":"https://github.com/s-sajid-ali/multislice","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/s-sajid-ali/multislice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-sajid-ali%2Fmultislice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-sajid-ali%2Fmultislice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-sajid-ali%2Fmultislice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-sajid-ali%2Fmultislice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-sajid-ali","download_url":"https://codeload.github.com/s-sajid-ali/multislice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-sajid-ali%2Fmultislice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32267710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["multislice","synchrotron","xray"],"created_at":"2024-10-12T16:30:39.304Z","updated_at":"2026-04-25T15:36:02.732Z","avatar_url":"https://github.com/s-sajid-ali.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Multislice\n\nMultislice wave propagation in Python. \n\n#### Contents\n* `prop.py` - propogation routines including Transfer Function, Single Fourer Transform, Fraunhofer, Impulse Response \u003cbr\u003e\u003cbr\u003e\n  * propTF  - Transfer function propogator\n  * prop1FT - Single fourier transform propogator\n  * propFF  - Fraunhofer propogator\n  * propIR  - Impulse Response propogator\n  \u003cbr\u003e\n* `prop_utils.py`   - utilities for multilsice propogation \u003cbr\u003e\u003cbr\u003e\n  * modify  - modify the wavefront by the material \n  * modify_two_materials_case_1, modify_two_materials_case_2 - mixing two materials\n  * decide - Decide which propogator to use\n  * number_of_steps - Compute the number of steps to be used for propogation within an object. \n  * plot_2d_complex - Plot the wavefront\n  * optic_illumination - Utility function that takes an input wavefront and optic and produces the focal spot. \n  \u003cbr\u003e\n* `fft_utils.py`    - pyfftw wrapper (numpy.fft can be used as well) \u003cbr\u003e\u003cbr\u003e \n  * FFT2 - 2D fft\n  * IFFT2 - 2D ifft\n  \u003cbr\u003e\n* `wisdom.pickle`   - file containing pre planned wisdom to elimnate the need for planning at runtime \u003cbr\u003e\u003cbr\u003e\n\n#### Installation : \nClone the directory via git clone and run `pip install .`. Note that this project uses [flit](https://github.com/takluyver/flit/) as it's build system.\n\n#### Testing\nThe tests folder has ipython notebooks which compare the results with [this](https://github.com/mdw771/xdesign/blob/master/tests/test_tube_particles.py) test case. Additional tests evaluate the performance of ffts.\u003cbr\u003e\n\n#### Credits\nThis work is based on `Multislice does it all : calculating the performance of nanofocusing x-ray optics, Optics Express, vol. 25, 2017 `.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-sajid-ali%2Fmultislice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-sajid-ali%2Fmultislice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-sajid-ali%2Fmultislice/lists"}