Skip to main content

Packages to convert XML files to DICOM format written by SNUH

Project description


XML2DCM

XML2DCM은 XML 형태의 데이터를 Dicom 형태로 바꾸는 패키지 입니다. ( 여기서 XML 데이터는 ECG 데이터를 담고 있습니다. )

XML2DCM is a package that converts XML formatted data into Dicom format. ( the XML data contains ECG information. )


XML Structure

XML 파일을 DCM 파일로 변환하기 위해서는 XML 파일의 구조가 정해진 형식을 따라야 합니다. 변환을 진행하기 전에, 파일이 이 구조를 제대로 갖추고 있는지 확인해야 합니다.

To convert an XML file into a DCM file, the structure of the XML file must adhere to a specified format. Before proceeding with the conversion, it is necessary to verify that the file conforms to this structure.


To start using xml2dcm

Install

PIP

pip install xml2dcm
python -m pip install --upgrade xml2dcm

Using the XML2DCM Library in Python

from xml2dcm import xml2dcm
xml2dcm.create_dicom_file('path/to/your/XML_file.xml', 'path/to/your/output_folder')

xml2dcm.read_dicom('path/to/your/Dicom_file.dcm')

license

This software is licensed under the Apache 2 license, quoted below

Copyright 2024 SNUH https://www.snuh.org

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xml2dcm-0.0.4.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

xml2dcm-0.0.4-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file xml2dcm-0.0.4.tar.gz.

File metadata

  • Download URL: xml2dcm-0.0.4.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for xml2dcm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d06545b22d6e335bdb0cb1a0de4e9aed0311859c7e6623a936bcb4d8568178ad
MD5 f17879a93c065958df428590011072ef
BLAKE2b-256 40e50dabe24c3bad36c8c76103bedffa322b128464c386320f13dc54d3c0cb93

See more details on using hashes here.

File details

Details for the file xml2dcm-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: xml2dcm-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for xml2dcm-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 636f6e1fa4a40fa2228def7b0ef27eae038b54153e9e87bc686f0f4f312c2f98
MD5 c6340b939cd5bbd1af5088a3e4174ba3
BLAKE2b-256 a801156710111cbe15b312d41afc078c0a4e61e76a89e63ea40dc1afb757c73c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page