{"id":19728776,"url":"https://github.com/swharden/ljpcalc","last_synced_at":"2025-08-31T23:43:50.208Z","repository":{"id":38058204,"uuid":"239139777","full_name":"swharden/LJPcalc","owner":"swharden","description":"Liquid Junction Potential Calculator","archived":false,"fork":false,"pushed_at":"2024-03-15T17:48:46.000Z","size":3004,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-07T20:43:11.768Z","etag":null,"topics":["calculator","chemistry","electrochemistry","electrophysiology","ljp","patch-clamp","scientific"],"latest_commit_sha":null,"homepage":"https://swharden.com/LJPcalc","language":"C#","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/swharden.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}},"created_at":"2020-02-08T13:51:07.000Z","updated_at":"2024-02-12T12:13:26.000Z","dependencies_parsed_at":"2024-03-06T17:01:42.754Z","dependency_job_id":"ebdeb846-3c69-4482-b884-5d51e48d26c3","html_url":"https://github.com/swharden/LJPcalc","commit_stats":{"total_commits":399,"total_committers":2,"mean_commits":199.5,"dds":"0.0025062656641604564","last_synced_commit":"4383fc6471192365a7f288a3236f0ec474cf1f12"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swharden%2FLJPcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swharden%2FLJPcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swharden%2FLJPcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swharden%2FLJPcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swharden","download_url":"https://codeload.github.com/swharden/LJPcalc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224193127,"owners_count":17271238,"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":["calculator","chemistry","electrochemistry","electrophysiology","ljp","patch-clamp","scientific"],"created_at":"2024-11-12T00:07:46.082Z","updated_at":"2024-11-12T00:07:46.636Z","avatar_url":"https://github.com/swharden.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LJPcalc\n\n[![CI](https://github.com/swharden/LJPcalc/actions/workflows/ci.yaml/badge.svg)](https://github.com/swharden/LJPcalc/actions/workflows/ci.yaml)\n\n**LJPcalc is a free and open source liquid junction potential (LJP) calculator that runs entirely in the browser.** LJPcalc calculates LJP according to the stationary Nernst-Planck equation. This strategy is typically regarded as superior to the simpler Henderson equation used by most commercial LJP calculators, especially for solutions containing polyvalent ions.\n\n[![](dev/website.png)](https://swharden.com/software/LJPcalc/app)\n\n## Citing LJPcalc\n\n**If you enjoy LJPcalc, consider citing it by name:** Liquid junction potential was calculated according to the stationary Nernst–Planck equation ([Marino et al., 2014](https://arxiv.org/abs/1403.3640)) using LJPcalc ([RRID:SCR_025044](https://scicrunch.org/resolver/SCR_025044)).\n\n[Search \"LJPcalc\" on Google Scholar](https://scholar.google.com/scholar?q=ljpcalc) to see publications that cite LJPcalc.\n\n## History\n\nLJPcalc was created by [Scott Harden](http://swharden.com/) as a C#/.NET adaptation of the Java application [JLJP](https://github.com/swharden/JLJP) originally written by [Doriano Brogioli](https://sites.google.com/site/dbrogioli/) as described in [Marino et al., 2014](https://arxiv.org/abs/1403.3640).\n\n## Additional Resources\n\n* [**LJP Theory and Calculation Tips**](https://swharden.com/software/LJPcalc/theory/) - A collection of information related to LJP I put together while working on this project.\n\n* [**Marino and Brogioli, 2016**](https://www.mdpi.com/2079-3197/4/2/17) - Analytical Results on the Behavior of a Liquid Junction across a Porous Diaphragm or a Charged Porous Membrane between Two Solutions According to the Nernst–Planck Equation\n\n* [**Beaumont 1991**](https://pubmed.ncbi.nlm.nih.gov/1886854/) - Comparison of Henderson's Method I and restricted maximum likelihood estimation of genetic parameters of reproductive traits\n\n* **[Marino et al. (2014)](https://arxiv.org/abs/1403.3640)** - describes a computational method to calculate LJP according to the stationary Nernst-Planck equation. The JAVA software described in this manuscript is open-source and now on GitHub ([JLJP](https://github.com/swharden/jljp)). Figure 1 directly compares LJP calculated by the Nernst-Planck vs. Henderson equation.\n\n* **[Perram and Stiles (2006)](https://pubs.rsc.org/en/content/articlelanding/2006/cp/b601668e)** - A review of several methods used to calculate liquid junction potential. This manuscript provides excellent context for the history of LJP calculations and describes the advantages and limitations of each.\n\n* **[Shinagawa (1980)](https://www.ncbi.nlm.nih.gov/pubmed/7401663)** _\"Invalidity of the Henderson diffusion equation shown by the exact solution of the Nernst-Planck equations\"_ - a manuscript which argues that the Henderson equation is inferior to solved Nernst-Planck-Poisson equations due to how it accounts for ion flux in the charged diffusion zone.\n\n* **[Lin (2011)](http://www.sci.osaka-cu.ac.jp/~ohnita/2010/TCLin.pdf)** _\"The Poisson The Poisson-Nernst-Planck (PNP) system for ion transport (PNP) system for ion transport\"_ - a PowerPoint presentation which reviews mathematical methods to calculate LJP with notes related to its application in measuring voltage across cell membranes.\n\n* **[Nernst-Planck equation](https://en.wikipedia.org/wiki/Nernst%E2%80%93Planck_equation)** (Wikipedia)\n\n* **[Goldman Equation](https://en.wikipedia.org/wiki/Goldman_equation)** (Wikipedia)\n\n* **[EGTA charge and pH](https://www.sciencedirect.com/science/article/pii/S0165027099000369?via%3Dihub#FIG1)** - Empirical determination of EGTA charge state distribution as a function of pH.\n\n* **[LJPCalcWin](https://medicalsciences.med.unsw.edu.au/sites/default/files/soms/page/ElectroPhysSW/JPCalcWin-Demo%20Manual.pdf)** - A Program for Calculating Liquid Junction Potentials\n\n* **[LJP Corrections](http://beenhakkerlab.org/lab-links/ephys/Guides/Theory/Liquid-Junction-Potential-Corrections-Axon.pdf)** (Axon Instruments Application Note) describes how to calculate LJP using ClampEx and LJPCalcWin and also summarizes how to measure LJP experimentally\n\n* **[LJP Corrections](https://medicalsciences.med.unsw.edu.au/sites/default/files/soms/page/ElectroPhysSW/AxoBits39New.pdf)** (Figl et al., AxoBits 39) summarizes LJP and discusses measurement and calculation with ClampEx","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswharden%2Fljpcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswharden%2Fljpcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswharden%2Fljpcalc/lists"}