{"id":34086912,"url":"https://github.com/deepskies/deeplenstronomy","last_synced_at":"2026-04-08T19:35:40.141Z","repository":{"id":43097288,"uuid":"171691352","full_name":"deepskies/deeplenstronomy","owner":"deepskies","description":"A pipeline for versatile strong lens sample simulations","archived":false,"fork":false,"pushed_at":"2024-07-16T13:00:41.000Z","size":43239,"stargazers_count":34,"open_issues_count":31,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-04-05T08:09:08.829Z","etag":null,"topics":["gravitational-lensing","simulation","strong-lensing"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/deepskies.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","contributing":"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":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-20T14:47:28.000Z","updated_at":"2025-10-21T16:02:05.000Z","dependencies_parsed_at":"2025-04-11T11:48:41.147Z","dependency_job_id":null,"html_url":"https://github.com/deepskies/deeplenstronomy","commit_stats":{"total_commits":383,"total_committers":13,"mean_commits":29.46153846153846,"dds":"0.43603133159268925","last_synced_commit":"00abf490c362e2e8e948924d2fad84d3ce856912"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/deepskies/deeplenstronomy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepskies%2Fdeeplenstronomy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepskies%2Fdeeplenstronomy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepskies%2Fdeeplenstronomy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepskies%2Fdeeplenstronomy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepskies","download_url":"https://codeload.github.com/deepskies/deeplenstronomy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepskies%2Fdeeplenstronomy/sbom","scorecard":{"id":332186,"data":{"date":"2025-08-11","repo":{"name":"github.com/deepskies/deeplenstronomy","commit":"cbcedbd0457f9cc3a00e6a6bf3f7dec4aa9bb716"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":8,"reason":"Found 7/8 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h2x6-5jx5-46hf","Warn: Project is vulnerable to: PYSEC-2022-42991 / GHSA-v3c5-jqr6-7qm8","Warn: Project is vulnerable to: PYSEC-2021-427 / GHSA-f865-m6cq-j9vx","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T03:53:50.017Z","repository_id":43097288,"created_at":"2025-08-18T03:53:50.017Z","updated_at":"2025-08-18T03:53:50.017Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gravitational-lensing","simulation","strong-lensing"],"created_at":"2025-12-14T13:34:36.024Z","updated_at":"2026-04-08T19:35:40.132Z","avatar_url":"https://github.com/deepskies.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to `deeplenstronomy`!\n\n[![status](https://joss.theoj.org/papers/e978dd566d1f290055a02d76288e95e1/status.svg)](https://joss.theoj.org/papers/e978dd566d1f290055a02d76288e95e1)\n[![status](https://img.shields.io/badge/arXiv-2102.02830-red)](http://arxiv.org/abs/2102.02830)\n[![status](https://img.shields.io/badge/PyPi-0.0.2.3-blue)](https://pypi.org/project/deeplenstronomy/)\n[![status](https://img.shields.io/badge/License-MIT-lightgrey)](https://github.com/deepskies/deeplenstronomy/blob/master/LICENSE)\n\n`deeplenstronomy` is a tool for simulating large datasets for applying deep learning to strong gravitational lensing. \nIt works by wrapping the functionalities of [`lenstronomy`](https://github.com/sibirrer/lenstronomy) in a convenient yaml-style interface, allowing users to embrace the astronomer part of their brain rather than their programmer part when generating training datasets.\n\n## Installation\n\n**With conda (Recommended)**\n\n- Step 0: Set up an environment. This can be done straightforwardly with a `conda` installation:\n\n```\nconda create -n deeplens python=3.7 jupyter scipy pandas numpy matplotlib astropy h5py PyYAML mpmath future\nconda activate deeplens\n```\n\n- Step 1: `pip install lenstronomy`\n- Step 2: `pip install deeplenstronomy`\n\n**With pip**\n\n- Step 1: `pip install deeplenstronomy`\n\n## [Getting Started and Example Notebooks](https://deepskies.github.io/deeplenstronomy/Notebooks/)\n\nStart by reading the [Getting Started Guide](https://deepskies.github.io/deeplenstronomy/Notebooks/GettingStarted.html) to familiarize yourself with the `deeplenstronomy` style.\n\nAfter that, check out the example notebooks below:\n\n### Notebooks for `deeplenstronomy` Utilities\n- [Creating `deeplenstronomy` Configuration Files](https://deepskies.github.io/deeplenstronomy/Notebooks/ConfigFiles.html)\n- [Generating Datasets](https://deepskies.github.io/deeplenstronomy/Notebooks/DeepLenstronomyDemo.html)\n- [Visualizing `deeplenstronomy` Images](https://deepskies.github.io/deeplenstronomy/Notebooks/Visualization.html)\n- [Utilizing Astronomical Surveys](https://deepskies.github.io/deeplenstronomy/Notebooks/Surveys.html)\n- [Defining Your Own Probability Distributions](https://deepskies.github.io/deeplenstronomy/Notebooks/UserDistributions.html)\n- [Using Your Own Images as Backgrounds](https://deepskies.github.io/deeplenstronomy/Notebooks/BackgroundsDemo.html)\n- [Simulating Time-Series Datasets](https://deepskies.github.io/deeplenstronomy/Notebooks/TimeSeriesDemo.html)\n\n### Notebooks for Applying `deeplenstronomy` to Machine Learning Analyses\n- [Using `deeplenstronomy` for Active Learning](https://deepskies.github.io/deeplenstronomy/Notebooks/ActiveUpdateDemo.html)\n- [Using `deeplenstronomy` for Classification and Regression](https://deepskies.github.io/deeplenstronomy/Notebooks/Metrics.html)\n\n### Notebooks for Suggested Science Cases\n- [A Walkthrough of Using `deeplenstronomy` for Science](https://deepskies.github.io/deeplenstronomy/Notebooks/FullExample.html)\n\n\n## API Documentation\n\n`deeplenstronomy` is designed so that users only need to work with their personal configuration files and the dataset generatation and image visualization functions.\nHowever, if you would like to view the full API documentation, you can visit the [docs](https://deepskies.github.io/deeplenstronomy/docs/) page.\n\n## Citation\n\nIf you use `deeplenstronomy` in your work, please include the following citations:\n```\n@article{deeplenstronomy,\n  doi = {10.21105/joss.02854},\n  url = {https://doi.org/10.21105/joss.02854},\n  year = {2021},\n  publisher = {The Open Journal},\n  volume = {6},\n  number = {58},\n  pages = {2854},\n  author = {Robert Morgan and Brian Nord and Simon Birrer and Joshua Yao-Yu Lin and Jason Poh},\n  title = {deeplenstronomy: A dataset simulation package for strong gravitational lensing},\n  journal = {Journal of Open Source Software}\n}\n\n@article{lenstronomy,\n    title     =   \"lenstronomy: Multi-purpose gravitational lens modelling software package\",\n    journal   =   \"Physics of the Dark Universe\",\n    volume    =   \"22\",\n    pages     =   \"189 - 201\",\n    year      =   \"2018\",\n    issn      =   \"2212-6864\",\n    doi       =   \"10.1016/j.dark.2018.11.002\",\n    url       =   \"http://www.sciencedirect.com/science/article/pii/S2212686418301869\",\n    author    =   \"Simon Birrer and Adam Amara\",\n    keywords  =   \"Gravitational lensing, Software, Image simulations\"\n}\n```\n\n## Contact\n\nIf you have any questions or run into any errors with the beta release of `deeplenstronomy`, please don't hesitate to reach out:\n\nRob Morgan \n\u003cbr\u003e\nrobert [dot] morgan [at] wisc.edu\n\nYou can also message me on the DES, DELVE, LSSTC, deepskies, or lenstronomers Slack workspaces\n\n\n\n\n\n\u003c!---\n.. image:: https://badge.fury.io/py/deeplenstronomy.png\n    :target: http://badge.fury.io/py/deeplenstronomy\n\n.. image:: https://travis-ci.org/bnord/deeplenstronomy.png?branch=master\n    :target: https://travis-ci.org/bnord/deeplenstronomy\n---\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepskies%2Fdeeplenstronomy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepskies%2Fdeeplenstronomy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepskies%2Fdeeplenstronomy/lists"}