{"action":"created","issue":{"url":"https://api.github.com/repos/ligo-cbc/pycbc/issues/164","labels_url":"https://api.github.com/repos/ligo-cbc/pycbc/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/ligo-cbc/pycbc/issues/164/comments","events_url":"https://api.github.com/repos/ligo-cbc/pycbc/issues/164/events","html_url":"https://github.com/ligo-cbc/pycbc/pull/164","id":96152385,"number":164,"title":"add pycbc example for calibrating data","user":{"login":"cmbiwer","id":10871764,"avatar_url":"https://avatars.githubusercontent.com/u/10871764?v=3","gravatar_id":"","url":"https://api.github.com/users/cmbiwer","html_url":"https://github.com/cmbiwer","followers_url":"https://api.github.com/users/cmbiwer/followers","following_url":"https://api.github.com/users/cmbiwer/following{/other_user}","gists_url":"https://api.github.com/users/cmbiwer/gists{/gist_id}","starred_url":"https://api.github.com/users/cmbiwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmbiwer/subscriptions","organizations_url":"https://api.github.com/users/cmbiwer/orgs","repos_url":"https://api.github.com/users/cmbiwer/repos","events_url":"https://api.github.com/users/cmbiwer/events{/privacy}","received_events_url":"https://api.github.com/users/cmbiwer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lauranuttall","id":7819015,"avatar_url":"https://avatars.githubusercontent.com/u/7819015?v=3","gravatar_id":"","url":"https://api.github.com/users/lauranuttall","html_url":"https://github.com/lauranuttall","followers_url":"https://api.github.com/users/lauranuttall/followers","following_url":"https://api.github.com/users/lauranuttall/following{/other_user}","gists_url":"https://api.github.com/users/lauranuttall/gists{/gist_id}","starred_url":"https://api.github.com/users/lauranuttall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauranuttall/subscriptions","organizations_url":"https://api.github.com/users/lauranuttall/orgs","repos_url":"https://api.github.com/users/lauranuttall/repos","events_url":"https://api.github.com/users/lauranuttall/events{/privacy}","received_events_url":"https://api.github.com/users/lauranuttall/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-20T20:28:14Z","updated_at":"2015-07-20T21:42:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ligo-cbc/pycbc/pulls/164","html_url":"https://github.com/ligo-cbc/pycbc/pull/164","diff_url":"https://github.com/ligo-cbc/pycbc/pull/164.diff","patch_url":"https://github.com/ligo-cbc/pycbc/pull/164.patch"},"body":"This PR adds an example for filtering `DARM_ERR` and `DARM_CTRL` to reproduce the front-end calibration.\r\n\r\nYou can view the example in `examples/cal/calibrate_data/`.\r\n\r\nThere is a docs page for the example in `docs/calibration.rst`.\r\n\r\nLaura, can you follow the instructions and see if you can reproduce the `OAF-CAL_DARM_DQ` channel that is in the frame files? If that looks ok, then take a look at the executable."},"comment":{"url":"https://api.github.com/repos/ligo-cbc/pycbc/issues/comments/123052802","html_url":"https://github.com/ligo-cbc/pycbc/pull/164#issuecomment-123052802","issue_url":"https://api.github.com/repos/ligo-cbc/pycbc/issues/164","id":123052802,"user":{"login":"lauranuttall","id":7819015,"avatar_url":"https://avatars.githubusercontent.com/u/7819015?v=3","gravatar_id":"","url":"https://api.github.com/users/lauranuttall","html_url":"https://github.com/lauranuttall","followers_url":"https://api.github.com/users/lauranuttall/followers","following_url":"https://api.github.com/users/lauranuttall/following{/other_user}","gists_url":"https://api.github.com/users/lauranuttall/gists{/gist_id}","starred_url":"https://api.github.com/users/lauranuttall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauranuttall/subscriptions","organizations_url":"https://api.github.com/users/lauranuttall/orgs","repos_url":"https://api.github.com/users/lauranuttall/repos","events_url":"https://api.github.com/users/lauranuttall/events{/privacy}","received_events_url":"https://api.github.com/users/lauranuttall/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T21:42:58Z","updated_at":"2015-07-20T21:42:58Z","body":"I can get to the plotting stage - now a few things. The first error I get is:\r\n\r\nTraceback (most recent call last):\r\n  File \"./pycbc_plot_frame\", line 28, in <module>\r\n    data.save('output/frame.txt')\r\n  File \"/home/laura.nuttall/.local/lib/python2.6/site-packages/pycbc/types/timeseries.py\", line 392, in save\r\n    _numpy.savetxt(path, output)\r\n  File \"/mnt/home2/detchar/opt/gwpysoft/lib64/python2.6/site-packages/numpy/lib/npyio.py\", line 1028, in savetxt\r\n    fh = open(fname, 'w')\r\nIOError: [Errno 2] No such file or directory: 'output/frame.txt'\r\n\r\nI simply made the output directory to see if I could make it to the end. Firstly, cal_dev_frame.png is not in the same location as the other png (I suspect they are both supposed to be in ~/public-html/tmp/cal_dev/)  and https://ldas-jobs.ligo-la.caltech.edu/~laura.nuttall/tmp/cal_dev/calibrate_oaf_cal_darm_dq_5.png is empty."}}