{"id":25736920,"url":"https://github.com/phdenzel/gleam","last_synced_at":"2025-07-26T17:06:12.029Z","repository":{"id":146779629,"uuid":"155248293","full_name":"phdenzel/gleam","owner":"phdenzel","description":"Gravitational Lens Extended Analysis Module","archived":false,"fork":false,"pushed_at":"2021-09-01T12:30:04.000Z","size":18903,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T06:34:57.678Z","etag":null,"topics":["analysis-framework","gravitational-lensing","modelling-framework"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phdenzel.png","metadata":{"files":{"readme":"README.org","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,"publiccode":null,"codemeta":null}},"created_at":"2018-10-29T16:53:59.000Z","updated_at":"2021-09-01T12:28:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"557d7eed-da41-4d86-9d9c-7467af5d9281","html_url":"https://github.com/phdenzel/gleam","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/phdenzel/gleam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fgleam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fgleam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fgleam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fgleam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phdenzel","download_url":"https://codeload.github.com/phdenzel/gleam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fgleam/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267198674,"owners_count":24051559,"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-07-26T02:00:08.937Z","response_time":62,"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-framework","gravitational-lensing","modelling-framework"],"created_at":"2025-02-26T06:31:43.397Z","updated_at":"2025-07-26T17:06:12.016Z","avatar_url":"https://github.com/phdenzel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"* GLEAM\n\n#+HTML: \u003cb\u003eG\u003c/b\u003eravitational \u003cb\u003eL\u003c/b\u003eens \u003cb\u003eE\u003c/b\u003extended \u003cb\u003eA\u003c/b\u003enalysis \u003cb\u003eM\u003c/b\u003eodule\n\n** Future\nMigration to Python3 in progress...\n\n** Binaries\nGLEAM is avaiable as a python module and is on its way to be\nimplemented as a standalone app for macOS.  In future, simply download\nthe lates release and double-click to run...  To use the full\nframework however, clone the repository and add it to your\n~PYTHONPATH~ (e.g. in your ~.bashrc~ file).\n\n** Requirements\nGLEAM inherits a requirement from GLASS ~swig~.  On linux, also make\nsure that ~python2-dev~ (or similar) and ~python-tk~ is installed.\nFor example,\n#+BEGIN_SRC bash\nsudo apt install swig python-tk python2-dev\n#+END_SRC\n\n** Install\nTo install GLEAM manually, simply open the terminal and run\n#+BEGIN_SRC bash\n./configure\n./install\n#+END_SRC\nThis will unpack, compile, and install all the necessary\ndependencies. It might need some tinkering, so if any problems arise\nfeel free to contact me.\n\n    \n** Content\n*** gleam.reconsrc\nThe synthetic imager. The ~ReconSrc~ class provides complete\nfunctionality of the synthetic imager and can be initiated with a mass\nmaps and observations loaded as a ~LensModel~ (~gleam.utils.lensing~)\nand ~LensObject~ (~gleam.lensobject~) object respectively.\n\n*** gleam.skycoords\nFramework for reading astronomical coordinates such as /J2000/,\n/RA/Dec/, etc.  Is able to convert between different coordinate\nsystems, and interfaces particularly well with the CFHTLS MegaPipe\npixel coordinate system.\n\n*** gleam.skyf\nReads in a single ~.fits~ file and extracts general information on the\nobservation.  Also contains several plotting procedures which\nvisualize the data.\n\n*** gleam.skypatch\nReads in a set of ~.fits~ files and extracts general information on\nthe observation in different bands, analogously to ~skyf.py~\n(importing ~skyf.py~). Visualizes data as stacked or palette image.\n\n*** gleam.lensobject\nInherits from ~SkyF~. Additionally extracts properties important for\ngravitational lenses and lensed sources.  Visualizes these properties\non top of inherited plotting procedures.\n\n*** gleam.multilens\nInherits from ~SkyPatch~. Additionally extracts properties important\nfor gravitational lenses and lensed sources, analogously to\n~lensobject.py~.  Visualizes these properties on top of inherited\nplotting procedures as stacked or palette image.\n\n*** gleam.lensfinder\nA simple peak finder to extract lens and source image positions.  Uses\nvery crude procedures, whose parameters have to be fine-tuned.\nProvides an automatic lens detection feature to the ~LensObject~\nclass.\n\n*** gleam.glscfactory\nGLASS config-file generator.  Features a sync and config reading\nfeature with ~LensObject~ class.  Can be used to write config files\nfor ~LensObject~ class instances, or to extract config files from\n~LensObject~ class instances.\n- TODO: Write a main method for usage as script!\n\n*** gleam.utils\nSeveral utility features such as custom color maps, basic lensing\ncomputations, plotting functions, etc. A general LensModel object is\nincluded as well with which a GLASS state or any kappa map can be read\nin.\n\n*** gleam.gui\n- Still in work...\n- Implemented features: reading in .fits files, applying masks of\n  several shapes, and saving as ~.json~ files.\n\n*** gleam.app\nComponents of ~gleam.gui~\n- ~gleam.app.prototype~\n- ~gleam.app.menubar~\n- ~gleam.app.navbar~\n- ~gleam.app.statusbar~\n- ~gleam.app.toolbar~\n- ~gleam.app.window~\n\n*** gleam.model\n**** gleam.model.sersic\nTwo dimensional, Sersic mapper. Calculates and visualizes profiles and\nmaps.\n\n**** gleam.model.spep\nTwo dimensional, softened power-law elliptical potential SPEP\nmapper. Calculates and visualizes profiles and maps.\n\n**** gleam.model.spemd\nTwo dimensional, softened power-law elliptical mass distribution\nmapper. Calculates and visualizes profiles and maps.\n\n\n* Libraries\n\n** GLASS\n   GLEAM interfaces with GLASS, which is why GLASS is included in as a\n   package in ~src~.  To install it on macOS simply use the ~compile~\n   and ~install~ scripts.  On linux, glpk sometimes installs its build\n   library in ~src/glass/build/glpk_build/lib64~ which needs to be\n   renamed to ~src/glass/build/glpk_build/lib~.  If the subsequent\n   install fails, it might be worth renaming it manually.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdenzel%2Fgleam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphdenzel%2Fgleam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdenzel%2Fgleam/lists"}