{"id":25895419,"url":"https://github.com/diamondlightsource/adcorr","last_synced_at":"2025-10-25T19:39:31.828Z","repository":{"id":41825045,"uuid":"509134716","full_name":"DiamondLightSource/adcorr","owner":"DiamondLightSource","description":"A collection of pure python functions for performing area detector corrections","archived":false,"fork":false,"pushed_at":"2024-05-13T18:26:16.000Z","size":165718,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T09:34:29.340Z","etag":null,"topics":["corrections","python","xray-diffraction"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DiamondLightSource.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.rst","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}},"created_at":"2022-06-30T15:28:27.000Z","updated_at":"2022-12-07T11:47:05.000Z","dependencies_parsed_at":"2024-03-12T10:48:45.097Z","dependency_job_id":"c3eac49d-8be6-4924-b102-62e36937fc15","html_url":"https://github.com/DiamondLightSource/adcorr","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiamondLightSource%2Fadcorr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiamondLightSource%2Fadcorr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiamondLightSource%2Fadcorr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DiamondLightSource%2Fadcorr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DiamondLightSource","download_url":"https://codeload.github.com/DiamondLightSource/adcorr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582513,"owners_count":19985845,"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":["corrections","python","xray-diffraction"],"created_at":"2025-03-02T22:31:15.209Z","updated_at":"2025-10-25T19:39:31.732Z","avatar_url":"https://github.com/DiamondLightSource.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"adcorr\n======\n\n|code_ci| |docs_ci| |coverage| |pypi_version| |license|\n\nThis package provides a set of pure python functions for performing corrections on area\ndetector data.\n\nInstall via PyPI with:\n\n.. code:: bash \n\n    pip install adcorr\n\nUseful Links\n------------\n\n============== ==============================================\nPyPI           https://pypi.org/project/adcorr/\nSource code    https://github.com/DiamondLightSource/adcorr\nDocumentation  https://DiamondLightSource.github.io/adcorr\nReleases       https://github.com/DiamondLightSource/adcorr/releases\n============== ==============================================\n\nBrief Example\n-------------\n\nA brief example of performing corrections using the library is presented below:\n\n.. code:: python\n\n    frames = load_my_frames()\n    mask = load_my_mask()\n    count_times = load_count_times()\n\n    frames = mask_frames(frames, mask)\n    frames = correct_deadtime(\n        frames,\n        count_times,\n        DETECTOR_MINIMUM_PULSE_SEPARATION,\n        DETECTOR_MINIMUM_ARRIVAL_SEPARATION,\n    )\n    frames = correct_dark_current(\n        frames,\n        count_times,\n        BASE_DARK_CURRENT,\n        TEMPORAL_DARK_CURRENT,\n        FLUX_DEPENDANT_DARK_CURRENT,\n    )\n    ...\n\nLibrary Compatibility\n---------------------\n\n================================================================ ================== =====================\nLibrary                                                          Tests              Coverage\n---------------------------------------------------------------- ------------------ ---------------------\n`numcertain \u003chttps://github.com/DiamondLightSource/numcertain\u003e`_ |tests_numcertain| |coverage_numcertain|\n`Pint \u003chttps://pint.readthedocs.io/en/stable/\u003e`_                 |tests_pint|       |coverage_pint|\n================================================================ ================== =====================\n\n.. |code_ci| image:: https://github.com/DiamondLightSource/adcorr/workflows/Code%20CI/badge.svg?branch=main\n    :target: https://github.com/DiamondLightSource/adcorr/actions?query=workflow%3ACode+branch%3Amain\n    :alt: Code CI\n\n.. |docs_ci| image:: https://github.com/DiamondLightSource/adcorr/workflows/Docs%20CI/badge.svg?branch=main\n    :target: https://github.com/DiamondLightSource/adcorr/actions?query=workflow%3ACode+branch%3Amain\n    :alt: Docs CI\n\n.. |coverage| image:: https://codecov.io/gh/DiamondLightSource/adcorr/branch/main/graph/badge.svg?flag=core\n    :target: https://codecov.io/gh/DiamondLightSource/adcorr\n    :alt: Test Coverage\n\n.. |tests_numcertain| image:: https://raw.githubusercontent.com/DiamondLightSource/adcorr/gh-badges/main/ubuntu-latest_3.9_false_numcertain.svg\n    :target: https://github.com/DiamondLightSource/adcorr/actions?query=workflow%3ACode+branch%3Amain\n    :alt: Numcertain Compatibility Test Outcome\n\n.. |coverage_numcertain| image:: https://codecov.io/gh/DiamondLightSource/adcorr/branch/main/graph/badge.svg?flag=numcertain\n    :target: https://codecov.io/gh/DiamondLightSource/adcorr\n    :alt: Numcertain Compatibility Test Coverage\n\n.. |tests_pint| image:: https://raw.githubusercontent.com/DiamondLightSource/adcorr/gh-badges/main/ubuntu-latest_3.9_false_pint.svg\n    :target: https://github.com/DiamondLightSource/adcorr/actions?query=workflow%3ACode+branch%3Amain\n    :alt: Pint Compatibility Test Outcome\n\n.. |coverage_pint| image:: https://codecov.io/gh/DiamondLightSource/adcorr/branch/main/graph/badge.svg?flag=pint\n    :target: https://codecov.io/gh/DiamondLightSource/adcorr\n    :alt: Pint Compatibility Test Coverage\n\n.. |pypi_version| image:: https://img.shields.io/pypi/v/adcorr.svg\n    :target: https://pypi.org/project/adcorr\n    :alt: Latest PyPI version\n\n.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n    :target: https://opensource.org/licenses/Apache-2.0\n    :alt: Apache License\n\n..\n    Anything below this line is used when viewing README.rst and will be replaced\n    when included in index.rst\n\nSee https://DiamondLightSource.github.io/adcorr for more detailed documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiamondlightsource%2Fadcorr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiamondlightsource%2Fadcorr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiamondlightsource%2Fadcorr/lists"}