{"id":18851913,"url":"https://github.com/danchitnis/spadsim","last_synced_at":"2025-04-14T09:53:04.976Z","repository":{"id":47877029,"uuid":"195483482","full_name":"danchitnis/SPADsim","owner":"danchitnis","description":"SPAD Simulation ","archived":false,"fork":false,"pushed_at":"2023-07-18T21:21:48.000Z","size":1850,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T23:11:48.169Z","etag":null,"topics":["active","avalanche","deadtime","detector","diode","mppc","oscilloscope","passive","photon","pulse","recovery","simulation","single","sipm","spad","time"],"latest_commit_sha":null,"homepage":"https://danchitnis.github.io/SPADsim/","language":"TypeScript","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/danchitnis.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}},"created_at":"2019-07-06T01:13:13.000Z","updated_at":"2025-02-25T06:30:51.000Z","dependencies_parsed_at":"2023-02-08T20:31:30.739Z","dependency_job_id":"2bcf9545-c96b-40b7-add1-80d2d4ebf766","html_url":"https://github.com/danchitnis/SPADsim","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2FSPADsim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2FSPADsim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2FSPADsim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danchitnis%2FSPADsim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danchitnis","download_url":"https://codeload.github.com/danchitnis/SPADsim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860138,"owners_count":21173339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["active","avalanche","deadtime","detector","diode","mppc","oscilloscope","passive","photon","pulse","recovery","simulation","single","sipm","spad","time"],"created_at":"2024-11-08T03:37:08.022Z","updated_at":"2025-04-14T09:53:04.950Z","avatar_url":"https://github.com/danchitnis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPADsim\n\nAn online simulation tool for [Single Photon Avalanche Diode (SPAD)](https://en.wikipedia.org/wiki/Single-photon_avalanche_diode)\n\nSee the online demo [here 🚀](https://danchitnis.github.io/SPADsim/index.html)\n\n## What are these pulses on the screen\n\nThe pulses replicate the pulses when connect a SPAD circuit to an oscilloscope. There are various type of SPADs and biasing schemes, this is representing a single SPAD with passive quenching. CH1 is for the SPAD node, and CH2 is after the digital buffer.\n\n## What is a SPAD?\n\na SPAD is light detector which is sensitive to a single photon, and upon detection of a single photon, it gives a digital-like output pulse, hence significantly simplifying the readout mechanism in comparison to a photodiode (PD) and avalanche photodiode (APD). Of course, the SPAD has an detection efficiency, and it is in fact sensitive to every few photons.\n\n## Where can I get a SPAD?\n\nUnfortunately you cannot. Currently, there is no market for single SPADs. However, you can find these as wildly expensive scientific components, and in form of SiPM or MPPC arrays. There are various range detectors and smartphone cameras which use SPADs, however you cannot access the SPAD itself for propriety reasons.\n\n## Can I make a SPAD myself?\n\nIf you are familiar with the world of integrated circuits, then it is very easy to make a SPAD. Simply follow academic publications in the past decade. You may be able to convert APDs into SPAD at higher voltages.\n\n## Why and when to use this simulator\n\nThis simulator helps in understating of SPAD operations and how it can be used in a specific application.\n\n## Which SPAD parameters are represented\n\nThe recovery time (for passive quenching), photon rate, and threshold voltage (of the digital inverter) are represented. All the units are arbitery. Notice that the dark count is not included, hence the photon rate is more accurately represented as an \"event\" rate.\n\n## Build instruction\n\ninstall [Git](https://git-scm.com/) and [NodeJS](https://nodejs.org/en/) which also includes NPM. Then in your workspace:\n\n```bash\ngit clone https://github.com/danchitnis/SPADsim.git\ncd SPADsim\nnpm i\nnpm run build\n```\n\n## How to contribute\n\nyou can create Github issue to report a bug or mention a feature request\n\n## License\n\nPlease see the [license](https://github.com/danchitnis/SPADsim/blob/master/LICENSE) notice.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanchitnis%2Fspadsim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanchitnis%2Fspadsim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanchitnis%2Fspadsim/lists"}