{"id":18007355,"url":"https://github.com/turtlesoupy/abm-u-and-abm-b-cpp","last_synced_at":"2025-06-16T09:38:51.208Z","repository":{"id":1230937,"uuid":"1162912","full_name":"turtlesoupy/ABM-U-and-ABM-B-CPP","owner":"turtlesoupy","description":"Scientific model for simulating light transport in unifacial/bifacial plant leaves (C++ version)","archived":false,"fork":false,"pushed_at":"2011-01-30T22:34:07.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T11:47:19.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.npsg.uwaterloo.ca/models/ABMU.php","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ChicagoBoss/cb_admin","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/turtlesoupy.png","metadata":{"files":{"readme":"README","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}},"created_at":"2010-12-13T02:22:46.000Z","updated_at":"2016-06-05T03:53:18.000Z","dependencies_parsed_at":"2022-08-16T12:40:19.022Z","dependency_job_id":null,"html_url":"https://github.com/turtlesoupy/ABM-U-and-ABM-B-CPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/turtlesoupy/ABM-U-and-ABM-B-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtlesoupy%2FABM-U-and-ABM-B-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtlesoupy%2FABM-U-and-ABM-B-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtlesoupy%2FABM-U-and-ABM-B-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtlesoupy%2FABM-U-and-ABM-B-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turtlesoupy","download_url":"https://codeload.github.com/turtlesoupy/ABM-U-and-ABM-B-CPP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turtlesoupy%2FABM-U-and-ABM-B-CPP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260134228,"owners_count":22963868,"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":[],"created_at":"2024-10-30T01:13:10.510Z","updated_at":"2025-06-16T09:38:51.187Z","avatar_url":"https://github.com/turtlesoupy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"ABM-B and ABM-U (C++ version)\n\nThis is a reference implementation of the ABM-B and ABM-U models described in\nhttp://www.npsg.uwaterloo.ca/resources/docs/rse2006.pdf, with modifications\ndescribed in http://www.npsg.uwaterloo.ca/resources/docs/ieee07-8.pdf\n\nFor detailed information, visit the online pages for:\n    - ABM-U: http://www.npsg.uwaterloo.ca/models/ABMU.php\n    - ABM-B: http://www.npsg.uwaterloo.ca/models/ABMB.php\n\nThe package is licensed under a BSD license, described in LICENSE. \n\nThis was released by the Natural Phenomenon Simulation Group at University of\nWaterloo in Waterloo, Ontario, Canada. Please visit http://www.npsg.uwaterloo.ca\nfor more information.\n\nUsage:\n    - Run \"make abmu\" to make an abmu executible. Run \"make abmb\" to \n      make an abmb executible. Afterwards,\n      run \"./abmb samples/lopex_0219-0220.json output.csv\" \n      or  \"./abmu samples/lopex_0141-0142.json output.csv\". You can specify more\n      detailed options too, just run \"./abmu\" to see them all.\n\nCommand line flags:\n    - -n \u003cint\u003e: Specifies the number of samples to run the monte carlo simulation.\n                We recommend 10^5 to get asymptotic convergence\n\n    - -a \u003cfloat\u003e: Azimuthal angle in degrees to fire rays from.\n\n    - -p \u003cfloat\u003e: Polar angle in degrees to fire rays from. Values from 0 to 90\n                  correspond to the abaxial surface, while values from 90 to 180\n                  correspond to the adaxial surface.\n\n    - -s \u003cint\u003e: Wavelength step in nm. Output will occur with every \u003cstep\u003e wavelengths\n\n    - -w \u003cint\u003e: Wavelength start in nm. Output will start with this wavelength.\n\n    - -e \u003cint\u003e: Wavelength endin nm. Output will end with this wavelength.\n\n    - -d \u003cpath\u003e: Data directory. The data is outlined in the Code Organization section\n                 below.\n\n    - -t \u003cint\u003e:  Number of threads. Rule of thumb is double the number of parallel processing\n                 units in your computer.\n\n    - -q: Disable sieve and detour effects. This is an in-vivo Vs. in-vitro modelling issue that is\n          outlined in the paper here: http://www.npsg.uwaterloo.ca/resources/docs/ieee07-8.pdf\n\nRequirements:\n    - The yajl JSON parsing library headers: http://lloyd.github.com/yajl/\n      (available in Ubuntu under libyajl-dev)\n\n    - pthreads\n\nCode Organization:\n    - 'src/': This folder contains all the code files necessary for ABM-U/ABM-B to run.\n\n    - 'include/': This folder contains all the header files necessary for ABM-U/ABM-B to run.\n\n    - 'data/': This folder contains the data files (e.g., refractive indices) that are needed\n               to run ABM-B or ABM-U. All are available here: http://www.npsg.uwaterloo.ca/data/leaves.php\n               - 'caro-PAS-400-2500.txt': Specific absorption coefficient of carotenoids (400-2500nm)\n               - 'cellulose400-2500.txt': Specific absorption coefficient of cellulose (400-2500nm)\n               - 'chloAB-DFA-400-2500.txt': Specific absorption coefficient of chlorophyll a+b (400-2500nm)\n               - 'sacwH400-2500.txt': Specific absorption coefficient of water (400-2500nm)\n               - 'raH400-2500.txt': Refractive index (real part) of antidermal cell wall (400-2500nm)\n               - 'rcH400-2500.txt': Refractive index (real part) of epicuticular wax (400-2500nm)\n               - 'rmH400-2500.txt': Refractive index (real part) of wet mesophyll wall (400-2500nm)\n\n    - 'samples/': This folder contains data definitions for samples used for testing of ABM-U/ABM-B.\n                  All samples correspond to those mentioned in http://www.npsg.uwaterloo.ca/resources/docs/rse2006.pdf.\n                  Samples are specified in a json-like format. \n               - 'lopex_0141_0142.json': Soybean (Soja hispida or Glycine max), a bifacial leaf for ABM-B\n               - 'lopex_0219_0220.json': Corn (Zea mays L.), a unifacial leaf for ABM-U\n\nNotes:\n    - All concentrations are specified in g/cm^3, and lengths in meters.\n\n    - Data is piecewise-constant interpolated accross 400-2500nm, with data points\n      every five nanometers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturtlesoupy%2Fabm-u-and-abm-b-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturtlesoupy%2Fabm-u-and-abm-b-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturtlesoupy%2Fabm-u-and-abm-b-cpp/lists"}