Skip to main content

No project description provided

Project description

A script to read the ams.rkf file which contains all the important data from an ams output file. This file generally contains

1 Trajectories

2 Gradients

3 Hessians

4 Energies

5 Band gaps and structures

and so on

How to

1 Convert rkf file to a json object

from read_rkf.creat_archive import rkf_to_json json_data = rkf_to_json(path_to_the_rkf_file)

2 Convert rkf file to a python dictionary

from read_rkf.creat_archive import rkf_to_dict python_dict = rkf_to_dict(path_to_the_rkf_file)

3 check the sections in the rkf file

from read_rkf.parserkf import KFFile data = KFFile(path_to_the_rkf_file) all_sections = data.sections()

e.g if you want a the first section?

section_content = data.read_section(all_sections[0])

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

read_rkf-0.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

read_rkf-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file read_rkf-0.1.0.tar.gz.

File metadata

  • Download URL: read_rkf-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for read_rkf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b59f27419963c0e3b9e280b06a0af6865a2479b4b9c7613cb794d675ca6d0e8
MD5 22eff5477b0156e8a44d6f3eba1f2aec
BLAKE2b-256 9209f0baf41569be4b714a45dd9fc8281db1a99ea4fa352791b1ecdfed9a2378

See more details on using hashes here.

File details

Details for the file read_rkf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: read_rkf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for read_rkf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01b0cc83ef6fc5155632707fd8c161cfd11a7e56328777430aae56faf0f5bbd3
MD5 8736f09055778d77b6fb186e271f80d0
BLAKE2b-256 ad48f365cd403f588acead48919a8ddc201aa1558356cf62e97ffae9718919b9

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