{"id":43310764,"url":"https://github.com/devries/analytic_infall","last_synced_at":"2026-02-01T21:10:59.586Z","repository":{"id":150792303,"uuid":"2546140","full_name":"devries/analytic_infall","owner":"devries","description":"Analytic 1-D radiative transfer model of blue-asymmetric spectral line profiles from infalling molecular clouds. The model is presented in the paper, \"Molecular Line Profile Fitting with Analytic Radiative Transfer Models\" by De Vries \u0026 Myers (2005).","archived":false,"fork":false,"pushed_at":"2019-09-09T14:34:14.000Z","size":146,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T13:54:55.806Z","etag":null,"topics":["c","interstellar-medium","radiative-transfer","star-formation"],"latest_commit_sha":null,"homepage":"http://adsabs.harvard.edu/abs/2005ApJ...620..800D","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devries.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-10-10T05:28:23.000Z","updated_at":"2022-07-25T21:22:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"f30b1790-fc3a-4e86-b2e9-d815bb18b9dd","html_url":"https://github.com/devries/analytic_infall","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":0.6363636363636364,"last_synced_commit":"b5b17902814842e9929b84ec4a73bea91f318ee4"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/devries/analytic_infall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devries%2Fanalytic_infall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devries%2Fanalytic_infall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devries%2Fanalytic_infall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devries%2Fanalytic_infall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devries","download_url":"https://codeload.github.com/devries/analytic_infall/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devries%2Fanalytic_infall/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28991196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T20:57:35.821Z","status":"ssl_error","status_checked_at":"2026-02-01T20:57:29.580Z","response_time":56,"last_error":"SSL_read: 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":["c","interstellar-medium","radiative-transfer","star-formation"],"created_at":"2026-02-01T21:10:58.804Z","updated_at":"2026-02-01T21:10:59.580Z","avatar_url":"https://github.com/devries.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Thank you for downloading the analytic infall models. These models are\ndiscussed in detail in De Vries \u0026 Myers (2005). More documentation and updates\nare available from http://cfa-www.harvard.edu/~cdevries/analytic_infall.html\n. Although this paper includes all the analytic models discussed in the paper,\nI would restrict myself to the HILL5 and TWOLAYER6 models, which were found to\nbe the best models. \n\nIn order to fit a spectrum you need to place it in a two column text format\n(the first column should be velocity in kilmeters per second, and the second\nshould be brightness temperature in Kelvins). Lines that begin with a hash mark\n'#' will be ignored. Use the hybrid version of the model you want to run, this\nwill allow for some slow differential evolution minimization which will\n(hopefully) find the global minimum well followed by Nelder-Mead simplex\nminimization which will quickly find the bottom of that well. The hybrid\nprograms of interest are \"hill5_hybrid\" and \"twolayer6_hybrid\". The arguments\nto both programs are:\n\n1. input filename  --- the file with your spectrum\n2. frequency --- to perform the J(T) conversion. A frequency of 0 will work in\n\t\t units of J(T) instead of T.\n3. vmin --- minimum velocity of the line profile.\n4. vmax --- maximum velocity of the line profile. Be sure to get the entire\n\t    line full width as well as a little baseline. This is the region\n\t    over which chi-squared is calculated, so artifacts of the fit can\n\t    sometimes appear outside this region.\n5. population in generation --- The number of solutions to calculate each\n\t\t\t\tgeneration of the differential evolution. I\n\t\t\t\tusually use about 200-300 here.\n6. generations per check --- The number of generations to run before checking\n\t\t\t     for convergence in the differential evolution. I\n\t\t\t     usually pick 300 here.\n7. checks to convergence --- The number of checks to make before deciding the\n\t\t\t     differential evolution algorithm has converged. I\n\t\t\t     usually pick 3 to 5 here. \n8. output file --- Where to place the fit and parameters.\n\nThe output file will have a header line the following (a HILL 5 example is\nshown):\n\n# Tau:   4.46394\n# Vlsr:  0.000296732\n# Vin:   0.0993918\n# sigma: 0.0937655\n# Tpeak: 10.5371\n# Attained Chisq: 0.539567\n\ngiving the parameters of the fit and Chi Squared (not a reduced\nchi-squared). Followed by the fit in a three column data file. The first two\ncolumns are the two columns of the input file, while the third column is the\nfit of the analytic model. Always check that the fit is good.\n\nPlease email me at chris@physics.csustan.edu if you have any questions or\ncomments. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevries%2Fanalytic_infall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevries%2Fanalytic_infall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevries%2Fanalytic_infall/lists"}