{"id":20646211,"url":"https://github.com/dpscience/dcontinpals","last_synced_at":"2026-02-14T10:02:49.723Z","repository":{"id":196940150,"uuid":"230118508","full_name":"dpscience/DCONTINPALS","owner":"dpscience","description":"pyDCONTINPALS - A Python program for running the historical FORTRAN code CONTIN-PALS which solves Fredholm integral equations with convoluted exponential decays as kernels of the type that occur in the analysis of Positron Annihilation Lifetime Spectra (PALS).","archived":false,"fork":false,"pushed_at":"2023-09-27T20:38:38.000Z","size":4638,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T16:35:59.558Z","etag":null,"topics":["analysis","contin","datareduction","exponential-decay","exponential-distributions","flm","fredholm-integral-equation","ill-posed","inverse-problems","laplace-inversion","lifetime-spectroscopy","linear-algebraic-equations","multi-exponential-decay","nonnegativity-constraints","pals","positron-annihilation-lifetime","positron-lifetime-spectra","regularization","tikhonov","tikhonov-regularization"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpscience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-12-25T15:08:29.000Z","updated_at":"2024-07-03T06:48:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"454bb15d-7359-48c4-a343-75951008b299","html_url":"https://github.com/dpscience/DCONTINPALS","commit_stats":null,"previous_names":["dpscience/dcontinpals"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dpscience/DCONTINPALS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpscience%2FDCONTINPALS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpscience%2FDCONTINPALS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpscience%2FDCONTINPALS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpscience%2FDCONTINPALS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpscience","download_url":"https://codeload.github.com/dpscience/DCONTINPALS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpscience%2FDCONTINPALS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273554155,"owners_count":25126309,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["analysis","contin","datareduction","exponential-decay","exponential-distributions","flm","fredholm-integral-equation","ill-posed","inverse-problems","laplace-inversion","lifetime-spectroscopy","linear-algebraic-equations","multi-exponential-decay","nonnegativity-constraints","pals","positron-annihilation-lifetime","positron-lifetime-spectra","regularization","tikhonov","tikhonov-regularization"],"created_at":"2024-11-16T16:24:45.139Z","updated_at":"2025-09-04T04:44:16.834Z","avatar_url":"https://github.com/dpscience.png","language":"Fortran","readme":"![badge-OS](https://img.shields.io/badge/OS-tested%20under%20Windows%2010-brightgreen)\n![badge-OS](https://img.shields.io/badge/OS-tested%20under%20Windows%2011-brightgreen)\n\nSupport this project and keep always updated about recent software releases, bug fixes and major improvements by [following on github](https://github.com/dpscience?tab=followers).\n\n![badge-followers](https://img.shields.io/github/followers/dpscience?style=social)\n![badge-stars](https://img.shields.io/github/stars/dpscience/DCONTINPALS?style=social)\n![badge-forks](https://img.shields.io/github/forks/dpscience/DCONTINPALS?style=social)\n\n# pyDCONTINPALS\n\n![badge-OS](https://img.shields.io/badge/OS-Windows-blue)\n![badge-language](https://img.shields.io/badge/language-Python-blue)\n![badge-license](https://img.shields.io/badge/license-GPL-blue)\n\nCopyright (c) 2020-2023 Dr. Danny Petschke (danny.petschke@uni-wuerzburg.de). All rights reserved.\u003cbr\u003e\u003cbr\u003e\n\u003cb\u003epyDCONTINPALS\u003c/b\u003e - A program in Python for running the historical FORTRAN code CONTIN-PALS initially provided by [Provencher (1982)](https://www.sciencedirect.com/science/article/abs/pii/0010465582901746) and [Gregory et al. (1990/](https://www.sciencedirect.com/science/article/abs/pii/016890029090358D)[1991)](https://www.sciencedirect.com/science/article/abs/pii/016890029190367Y). CONTIN-PALS program solves Fredholm integral equations with convoluted exponential decays as kernels of the type that occur in the analysis of Positron Annihilation Lifetime Spectra (PALS).\u003cbr\u003e\n\n![demo](https://github.com/dpscience/DCONTINPALS/blob/cef7dea07b87d1b878eec602a3c070a8d5555636/demo.png)\n\n# Quickstart Guide\n\n`pyDCONTINPALS` consists of 3 files ...\u003cbr\u003e\n\n`pyDCONTINPALS.py`\u003cbr\u003e\n`pyDCONTINPALSInput.py`\u003cbr\u003e\n`pyDCONTINPALSSpecSimulator.py`\u003cbr\u003e\n\n* \u003cb\u003eedit\u003c/b\u003e the input file `pyDCONTINPALSInput.py`:\n\n```python\n__demoMode                  = True # disable if running from real data\n\n# NOTE: SPECTRUM and IRF (or mono-exponential decay spectrum) data vectors require equal length!\n\n__roi_start                 = 0\n__roi_end                   = 7400 # Note: number of channels is internally limited by CONTIN to \u003c= 4000, so adjust the '__binFactor' in order to fit the given number of channels into this range\n\n# file path (and name) to the SPECTRUM data:\n\n__usingRefSpectrum          = True # if set to FALSE the '__irfXXX' related parameters are considered\n\n__filePathSpec              = 'testData/spectrum_10ps.dat'\n__specDataDelimiter         = '\\t'\n\n# file path (and name) to the IRF data:\n\n__filePathRefOrIRFSpec      = 'testData/ref_10ps.dat'\n__refDataDelimiter          = '\\t'\n\n# define the number of rows to be skipped during the import of the data (e.g. for ignoring the header entries):\n\n__skipRows                  = 5;\n\n# fixed mono-decay component in units of picoseconds [ps] (1/lambda = tau):\n\n# Note: set to values below 1E-6 if you are providing numerical IRF data as input otherwise the decay rate in [ps]: \n\n__tau_monoDecaySpec_in_ps   = 182.  # [ps]\n\n# used to model the IRF data in case '__usingRefSpectrum' = False:\n\n__t_zero                    = 2000             # channel number \n__irf_fwhm                  = [270.04,498.63]  # [ps]\n__irf_intensity             = [0.9382,0.0618]  # [ps]\n__irf_t0                    = [0.,6.6]         # [ps]\n\n# grid of characteristic lifetimes with equally distributed grid points defining the resulting intensity spectrum to be expected as output:\n\n__gridTau_start             = 10.0   # [ps]\n__gridTau_stop              = 3000.0 # [ps]\n__gridPoints                = 100    # 10 ... 100 Note: this value is internally limited by CONTIN\n\n# channel/bin resolution [ps]:\n\n__channelResolutionInPs     = 10. # \u003e= 10 ... Note: this value is internally limited by CONTIN. If lower, increase '__binFactor' to fit into this range\n__binFactor                 = 2   # Note: number of channels is internally limited by CONTIN to \u003c= 4000, so adjust the '__binFactor' in order to fit the given number of channels into this range\n\n# background estimation/calculation region:\n\n__bkgrd_startIndex          = 6500;\n__bkgrd_count               = 900; # number of channels with respect to the 'startIndex''\n```\n* \u003cb\u003eexecute\u003c/b\u003e `pyDCONTINPALS.py`\u003cbr\u003e\n\n* \u003cb\u003efinished\u003c/b\u003e. You should see the results as shown above in the figures when running in the demo mode \u003ci\u003e(__demoMode = True)\u003c/i\u003e.\n\n# How to cite this Program?\n\n* \u003cb\u003eBefore citing this program \u003cb\u003epyDCONTINPALS\u003c/b\u003e you need at least to cite the initial publication of the FORTRAN program [CONTIN-PALS provided by Gregory et al. (1990)](https://www.sciencedirect.com/science/article/abs/pii/016890029090358D).\u003c/b\u003e\n\n[![DOI](https://img.shields.io/badge/DOI-10.1016%2F0168--9002(90)90358--D-yellowgreen)](https://www.sciencedirect.com/science/article/abs/pii/016890029090358D)\n\n[R.B. Gregory, Y. Zhu, Analysis of positron annihilation lifetime data by numerical laplace inversion with the program CONTIN, Nucl. Instruments Methods Phys. Res. Sect. A Accel. Spectrometers, Detect. Assoc. Equip. 290 (1990) 172–182. doi:10.1016/0168-9002(90)90358-D.](https://doi.org/10.1016/0168-9002(90)90358-D).\n\n* \u003cb\u003eAdditionally, you should cite the applied version of this program in your study.\u003c/b\u003e\u003cbr\u003e\n\nYou can cite all released software versions by using the \u003cb\u003eDOI 10.5281/zenodo.3665474\u003c/b\u003e. This DOI represents all versions, and will always resolve to the latest one.\u003cbr\u003e\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3665474.svg)](https://doi.org/10.5281/zenodo.3665475)\n\n## ``v1.x``\n\u003cb\u003epyDCONTINPALS v1.04\u003c/b\u003e\u003cbr\u003e[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8384544.svg)](https://doi.org/10.5281/zenodo.8384544)\u003cbr\u003e\n\u003cb\u003epyDCONTINPALS v1.03\u003c/b\u003e\u003cbr\u003e[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7023157.svg)](https://doi.org/10.5281/zenodo.7023157)\u003cbr\u003e\n\u003cb\u003epyDCONTINPALS v1.02\u003c/b\u003e\u003cbr\u003e[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4630108.svg)](https://doi.org/10.5281/zenodo.4630108)\u003cbr\u003e\n\u003cb\u003epyDCONTINPALS v1.01\u003c/b\u003e\u003cbr\u003e[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4452238.svg)](https://doi.org/10.5281/zenodo.4452238)\u003cbr\u003e\n\u003cb\u003epyDCONTINPALS v1.0\u003c/b\u003e\u003cbr\u003e[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3665475.svg)](https://doi.org/10.5281/zenodo.3665475)\u003cbr\u003e\n \n # License of (py)DCONTINPALS (GNU General Public License) \n Copyright (c) 2020-2023 Dr. Danny Petschke (danny.petschke@uni-wuerzburg.de) All rights reserved.\u003cbr\u003e\n\n\u003cp align=\"justify\"\u003eThis program is free software: you can redistribute it and/or modify\u003cbr\u003e\nit under the terms of the GNU General Public License as published by\u003cbr\u003e\nthe Free Software Foundation, either version 3 of the License, or\u003cbr\u003e\n(at your option) any later version.\u003cbr\u003e\u003cbr\u003e\n\nThis program is distributed in the hope that it will be useful,\u003cbr\u003e\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\u003cbr\u003e\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\u003cbr\u003e\u003cbr\u003e\u003c/p\u003e\n\nFor more details see [GNU General Public License v3](https://www.gnu.org/licenses/gpl-3.0)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpscience%2Fdcontinpals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpscience%2Fdcontinpals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpscience%2Fdcontinpals/lists"}