Skip to main content

Read themo info from lammps output file or log file

Project description

Common fast data processing methods

A collection of frequently employed functions!

Smooth

import fastdataing.fastdataing as fd
  • fd.smooth_MIS(x,y,factor=300):
    • smooth data
  • fd.smooth_SF(x,y,factors=[5,3]):
    • smooth data

files processing

import fastdataing.files as ff

files = ff.get_files(directory="./",suffix="py")
print(files)
  • get_files(directory, suffix):
    • Read files with the same suffix in the folder and save them as a list

plot figs

import fastdataing.fastdataing as fd
import matplotlib.pyplot as plt
fig = fd.add_fig()
ax = fd.add_ax(fig)
plt.show()
  • add_fig(figsize=(10,8)):
    • add a canvas, return ax

Figure Processing

import fastdataing.figure as ff
  • fig2ico(png_file,ico_file=False):
    • convert png to ico file
  • fig2binary(fig_file, binary_file=False, threshold=128):
    • convert fig to binary image
  • binary2dxf(binary_image_file,dxf_file=False):
    • convert binary to dxf format

...

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

fastdataing-1.0.6.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file fastdataing-1.0.6.tar.gz.

File metadata

  • Download URL: fastdataing-1.0.6.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for fastdataing-1.0.6.tar.gz
Algorithm Hash digest
SHA256 34093c074db3c2cf5cc0dad7ae3932f9cebe962aad719b7a87d2990c2796b90b
MD5 df9101b36a9c1db980f3644f503f2d72
BLAKE2b-256 29b5a6b1732dd119c182a96a9fa40c4191d55fb1b5467f050c89bd4aab0abcf1

See more details on using hashes here.

Supported by

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