From MKramer at TransomaMedical.com Fri Jan 6 18:52:22 2006 From: MKramer at TransomaMedical.com (Kramer, Mat) Date: Fri, 6 Jan 2006 17:52:22 -0600 Subject: [Physionet-users] SCP to PhysioBank? Message-ID: Hi all, Has anyone done any work converting SCP files (see openecg.net) to PhysioBank format? Mat Kramer Senior Principal Software Engineer Transoma Medical +1-651-481-7410 x2258 From george at mit.edu Sat Jan 7 23:19:27 2006 From: george at mit.edu (George Moody) Date: Sat, 07 Jan 2006 23:19:27 -0500 Subject: [Physionet-users] SCP to PhysioBank? In-Reply-To: References: Message-ID: <43C092CF.6040003@mit.edu> The program at http://www.physionet.org/physiotools/alpha/parsescp-new.c can convert at least some SCP files to WFDB (PhysioBank) formats. Read the comments at the top of the file for usage information. Sorry, there is no other documentation available. Although the program is marked as alpha software, it has been in daily use for the past 6 years. Since I haven't had time or a good excuse to add support for the SCP variants that we don't use in our hospital, it's not a complete solution, and that's why it's still alpha after all this time. As the name suggests, it started out as an SCP validator, but once the samples were reconstructed it was trivial to add the WFDB conversion code. Another thing it can do is to de-identify an SCP file by stripping out the patient name and other protected health information, recomputing the CRCs, and then re-writing the results in SCP format. This function should work even for the unsupported SCP variants. I contributed this program to the OpenECG software archive several years ago; it may be worthwhile to check there to see if anyone has relevant experience with applying it to processing SCP variants that I haven't seen. If it's useful to you, or if you add features to it, please let me know! -- George