{"id":20687636,"url":"https://github.com/klauer/recordwhat","last_synced_at":"2025-04-22T15:20:54.651Z","repository":{"id":44769929,"uuid":"51451764","full_name":"klauer/recordwhat","owner":"klauer","description":"EPICS record debugging using ophyd Devices","archived":false,"fork":false,"pushed_at":"2022-01-25T22:56:58.000Z","size":286,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T01:20:46.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klauer.png","metadata":{"files":{"readme":"README.md","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":"2016-02-10T15:56:30.000Z","updated_at":"2022-10-27T05:46:15.000Z","dependencies_parsed_at":"2022-09-03T03:13:35.127Z","dependency_job_id":null,"html_url":"https://github.com/klauer/recordwhat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Frecordwhat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Frecordwhat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Frecordwhat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klauer%2Frecordwhat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klauer","download_url":"https://codeload.github.com/klauer/recordwhat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264931,"owners_count":21402005,"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-16T22:57:51.307Z","updated_at":"2025-04-22T15:20:54.223Z","avatar_url":"https://github.com/klauer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"recordwhat\n==========\n\nSelection of utilities for poking around with EPICS records\n\n* `ophyd.Device`s for most EPICS record types with sensible attribute names\n* Give a record name, get a device instance for that record\n\nWith the help of graphviz\n* Graph record input, output, and forward links\n* Graph areaDetector port plugin sources\n\nRecord in/out/forward link graphing\n-----------------------------------\n![Record link graph example](https://cdn.rawgit.com/klauer/recordwhat/0.3/examples/record_link_graph.svg)\n[Source](examples/record_link_graph.py)\n\nAreaDetector port graphing\n--------------------------\n![Port mapping example](https://cdn.rawgit.com/klauer/recordwhat/0.3/examples/ad_ports.svg)\n[Source](examples/areadetector.py)\n\nRecord example\n--------------\n\n```python\nimport recordwhat\n\nrec = recordwhat.get_record_by_name('XF:31IDA-OP{Tbl-Ax:X1}Mtr', read_attrs=[])\n\n# get a specific field's value\nprint('steps_per_revolution =', rec.steps_per_revolution.get())\n\n# or access to the signal itself\nprint('steps_per_revolution signal =', rec.steps_per_revolution)\nprint()\n\n# or ask for *all* the values\nprint(rec.get())\n```\n[Full source](examples/motor.py)\n\n\nOutput:\n```python\nsteps_per_revolution = 200\nsteps_per_revolution signal = EpicsSignal(read_pv='XF:31IDA-OP{Tbl-Ax:X1}Mtr.SREV', \n                                          parent='XF:31IDA-OP{Tbl-Ax:X1}Mtr', value=200, \n                                          timestamp=1455045145.501072, pv_kw={}, auto_monitor=False, \n                                          string=False, write_pv='XF:31IDA-OP{Tbl-Ax:X1}Mtr.SREV',\n                                          limits=False, put_complete=False)\n\nMotorRecordTuple(alarm_acknowledge_severity=0, alarm_acknowledge_transient=1,\n                 access_security_group='', description='Delta',\n                 scan_disable_input_link_value=0, disable_putfields=0,\n\n                 # (... a bunch of lines clipped...)\n\n                 seconds_to_velocity=0.2, soft_channel_position_lock=0,\n                 speed_revolutions_sec=0.5, startup_commands='', status_update=0,\n                 steps_per_revolution=200, tweak_step_size_egu=1.0, use_encoder_if_present=0,\n                 use_rdbl_link_if_presen=0, user_direction=0, velocity_egu_s=0.1)\n```\n\nRequires\n--------\n* Python 3.4+\n* ophyd\n* pyepics\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklauer%2Frecordwhat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklauer%2Frecordwhat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklauer%2Frecordwhat/lists"}