AVSfldIO.jl Documentation

Contents

Overview

File I/O routines for AVS .fld format data files; see (AVSfldIO)

Index

Functions

AVSfldIO.arg_getFunction
arg_get(head, name, toint)

Parse an argument from header, of the name=value form

source
AVSfldIO.fld_headerMethod
head = fld_header(file::String ; dir::String="", chat=false)

Read header data from AVS format .fld file, then close file.

in

  • file::String file name, usually ending in .fld

option

  • dir::String prepend file name with this directory; default ""
  • chat::Bool verbose? default: false

out

  • head::String array of header information
source
AVSfldIO.fld_openMethod
head, is_external_file, fid = fld_open(file ; dir::String="", chat=false)

Read header data from AVS format .fld file. Leaves file open for more reading.

in

  • file::String file name, usually ending in .fld

option

  • dir::String prepend file name with this directory; default ""
  • chat::Bool verbose? default: false

out

  • head::String array of header information
  • is_external_file::Bool true if AVS external format
  • fid::IOstream
source
AVSfldIO.fld_readMethod
data = fld_read(file::String ; dir::String="", chat=false)

Read data from AVS format .fld file

in

  • file file name, usually ending in .fld

option

  • dir::String prepend file name with this directory; default ""
  • chat::Bool verbose?

out

  • data Array (1D - 5D) in the data type of the file itself
source
AVSfldIO.fld_writeMethod
fld_write(file, data ; kwargs...)

Write data into AVS format .fld file. See README for file format.

in

  • file name of file typically ending in .fld
  • data real data array

option

  • check::Bool report error if file exists; default true
  • dir::String directory name to prepend file name; default ""
  • endian::Symbol:lelittle endian (default),:be` big endian
  • head::Array{String} comment information for file header
  • raw::Bool put raw data in name.raw, header in name.fld where file = name.fld; default false
source
AVSfldIO.loadMethod
data = load(ff::File{format"AVSfld"} ; kwargs...)

AVSfld load method

source
AVSfldIO.saveMethod
save(ff::File{format"AVSfld"}, data::AbstractArray{<:Real} ; kwargs...)

AVSfld save method

source