{"id":18722655,"url":"https://github.com/mdsumner/extcltk","last_synced_at":"2025-11-11T05:30:22.283Z","repository":{"id":72211383,"uuid":"492701181","full_name":"mdsumner/extcltk","owner":"mdsumner","description":"an old tcltk app in R","archived":false,"fork":false,"pushed_at":"2022-05-16T06:32:56.000Z","size":1248,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T12:17:13.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/mdsumner.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-16T05:53:49.000Z","updated_at":"2022-05-16T08:08:57.000Z","dependencies_parsed_at":"2023-02-24T05:30:36.172Z","dependency_job_id":null,"html_url":"https://github.com/mdsumner/extcltk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fextcltk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fextcltk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fextcltk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fextcltk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsumner","download_url":"https://codeload.github.com/mdsumner/extcltk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587244,"owners_count":19663892,"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-11-07T13:42:21.365Z","updated_at":"2025-11-11T05:30:22.233Z","avatar_url":"https://github.com/mdsumner.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# extcltk\nan old tcltk app in R\n\n# To run it\n\nThis loads the code in 'sMat.R', reads a csv, and an old MCMC binned array thing, and provides a tcltk interative app. \n\n\n```R\nsource(\"extent.r\")\n```\n\n## What is it doing?\n\nThis provides a little tcltk GUI, and an open R graphics plot. you can see the plot update as you change the settings. \n\nTry playing with **Start position** and **Max number of twilights**. Some settings affect performance, like **Gridsize** and **Bandwidth scale factor**.  Use **Aspect ratio** ~ 1.2 to get a pleasing map .... \n\nThis an MCMC output estimate of a seal location (from geolocation-light tag) compared to a satellite track. It's very old, but the performance of tcltk for an interactive \"space time\" image is pretty good, because we could bin the points fast, clear the current plot and simply add the time-range for the current UI setting. \n\n\n![](Untitled.png)\n\n\n# The contents\n\n```R\n\n## most of this is functions, most unused, some tcltk some our old infra\nls()\n [1] \"aspect\"           \"base\"             \"bits\"            \n [4] \"bits\u003c-\"           \"bscl\"             \"bufX\"            \n [7] \"bufY\"             \"chain\"            \"contour.sMat\"    \n[10] \"d\"                \"dim.sMat\"         \"disp\"            \n[13] \"ETbrks\"           \"ETcol\"            \"flip.matrix\"     \n[16] \"frame1\"           \"frame10\"          \"frame2\"          \n[19] \"frame3\"           \"frame4\"           \"frame5\"          \n[22] \"frame6\"           \"frame7\"           \"frame8\"          \n[25] \"frame9\"           \"get.mask\"         \"hscl\"            \n[28] \"image.sMat\"       \"increMat\"         \"iters\"           \n[31] \"kde\"              \"lats\"             \"left.frm\"        \n[34] \"lons\"             \"midLat\"           \"mirror.matrix\"   \n[37] \"nn\"               \"npars\"            \"npts\"            \n[40] \"output\"           \"overlay\"          \"palette\"         \n[43] \"pentad.DOY\"       \"PFbrks\"           \"PFcol\"           \n[46] \"pos\"              \"ps\"               \"q.but\"           \n[49] \"queryMat\"         \"R2ManifoldEndian\" \"R2ManifoldType\"  \n[52] \"range.sMat\"       \"read.etopo2\"      \"read.Heard\"      \n[55] \"read.PFpentad\"    \"rebinMat\"         \"regen\"           \n[58] \"region\"           \"replot\"           \"right.frm\"       \n[61] \"rN\"               \"rotate180.matrix\" \"rotate270.matrix\"\n[64] \"rotate90.matrix\"  \"sMat\"             \"spec.frm\"        \n[67] \"subset.SS\"        \"swap.dl\"          \"SWcol\"           \n[70] \"test.mask\"        \"updateMat\"        \"xmlBin\"          \n[73] \"xx\"               \"yy\"              \n\n## the track data \nstr(d)\n'data.frame':   161 obs. of  2 variables:\n $ Latitude : num  -37.8 -37.8 -37.9 -37.8 -38.6 ...\n $ Longitude: num  77.6 77.6 77.5 78.8 79.6 ...\n\n## the time series of binned MCMC samples used in image() in the tcltk app\nstr(ps)\n num [1:1000, 1:195] -37 -37.5 -37.3 -37.9 -38.2 ...\n - attr(*, \"dimnames\")=List of 2\n  ..$ : NULL\n  ..$ : chr [1:195] \"Lat1\" \"Lon1\" \"k1\" \"Lat2\" ...\n\n\n```\n\n\nThe oldest date I can find with this is 10 March 2004, it's in my old Dropbox store. It's impressive that it just works still. \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fextcltk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsumner%2Fextcltk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fextcltk/lists"}