{"id":18549364,"url":"https://github.com/lopez86/pywimps","last_synced_at":"2026-03-05T11:31:50.736Z","repository":{"id":161776540,"uuid":"93005965","full_name":"lopez86/PyWIMPs","owner":"lopez86","description":"Python tools for dark matter direct detection simulation and analysis. Most well-developed project currently on my account.","archived":false,"fork":false,"pushed_at":"2017-11-01T17:55:34.000Z","size":826,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-26T07:29:19.317Z","etag":null,"topics":["astrophysics","dark-matter","monte-carlo","nuclear-physics","particle-physics","physics","physics-analysis","physics-simulation","python","science","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/lopez86.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":"2017-06-01T01:59:12.000Z","updated_at":"2024-12-22T10:18:44.000Z","dependencies_parsed_at":"2023-09-25T00:24:39.241Z","dependency_job_id":null,"html_url":"https://github.com/lopez86/PyWIMPs","commit_stats":{"total_commits":50,"total_committers":3,"mean_commits":"16.666666666666668","dds":0.24,"last_synced_commit":"096cf9f3e3e3d8e4552418a9f4f690593d099160"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopez86%2FPyWIMPs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopez86%2FPyWIMPs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopez86%2FPyWIMPs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopez86%2FPyWIMPs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lopez86","download_url":"https://codeload.github.com/lopez86/PyWIMPs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239269808,"owners_count":19610870,"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":["astrophysics","dark-matter","monte-carlo","nuclear-physics","particle-physics","physics","physics-analysis","physics-simulation","python","science","simulation"],"created_at":"2024-11-06T20:38:46.326Z","updated_at":"2026-03-05T11:31:50.675Z","avatar_url":"https://github.com/lopez86.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyWIMPs\n\nThis package contains various python tools for simulation \u0026amp; analysis\nof dark matter direct detection experiments. If you're a member of the \nHEP or astro community and might want to contribute something, let me know.\n\n## Requirements\n\nSo far, the following dependencies are needed:\n\n * Python 3 (likely 3.4 or above) - primary language\n * NumPy - numerical calculations\n * AstroPy - astrophysics libraries (coordinate transforms)\n * SciPy - used for various statistics things\n\nFor the examples, you will also need (depending on the specific example):\n * Matplotlib\n * PyROOT (ROOT with Python bindings)\n * Basemap - extra map plotting tools for Matplotlib\n\n## Features\n\n * Standard dark matter-nucleus interaction model:\n   * Standard Halo Model: Truncated Maxwellian velocity distribution\n   * Isotropic cross section\n   * Various form factors\n   * Nucleus to nucleon normalization\n * Monte Carlo simulation of recoils using the standard halo and cross section assumptions\n   * Weighted sampling for building histograms and distributions, calculating weights, etc. (one throwing uniformly over a region and another drawing from a Maxwell-Boltzmann distribution)\n   * Un-weighted event-by-event sampling using (1) a basic rejection sampling method and (2) a Markov Chain Monte Carlo (MCMC) using the Metropolis-Hastings algorithm.\n * Some basic limit setting for a simple counting analysis:\n   * Background-free counting\n   * Feldman-Cousins confidence intervals\n   * CLs limits\n * Detector effects: very basic classes for:\n   * Efficiency curves\n   * Reconstruction effects\n   * Realistically, the user will need to make custon classes for their experiment\n * Examples:\n   * Running threaded processes\n   * Annual modulation curves\n   * Limit plot generation \n   * Comparison of sampling methods\n   * MCMC tuning\n\n## Future Features\n * Data for common nuclei\n * More limit setting stuff\n   * Maximum Gap (Yellen)\n   * Annual modulation limits\n   * Bayesian limits\n   * Parameter fitting for positive results\n   * Detector/model systematics treatment (easier in Bayesian case?)\n * Examples of various plots and calculations\n   * Recoil distribution skymaps\n   * Sidereal modulation skymaps\n * References and readings on dark matter\n * Maybe/Might be fun\n   * Simplified parameterized simulation of a LUX or XENON type detector\n   * Inelastic dark matter\n   * Q^2-dependent cross sections\n   * Coherent neutrino elastic scattering\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopez86%2Fpywimps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flopez86%2Fpywimps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopez86%2Fpywimps/lists"}