Input / Output

pysac.io Module

pysac.io.yt_fields Module

A set of dervied fields for yt 2.x which combine pertubation and background components and define magnitudes, as well as calculate things like charaistic speeds.

Note: These use yt 3.x like field naming conventions

pysac.io.gdf_writer Module

Routines for the writing of GDF files

Functions

write_field(gdf_file, field[, field_shape, ...]) Write a field to an existing gdf file.
write_field_u(gdf_file, data, field_title, ...) Write a field to an existing gdf file.
create_file(f, simulation_parameters, ...[, ...]) Do all the structral creation of a gdf file.

Classes

SimulationParameters(*args, **kwargs)

Class Inheritance Diagram

Inheritance diagram of pysac.io.gdf_writer.SimulationParameters

pysac.io.legacy Module

Classes

SACdata(filename[, filetype]) This adds specifications to VACdata designed for SAC simulations in 2D or 3D with magnetic field.
VACdata(filename[, filetype]) This is a file type independant class that should expose a VACfile or VACHDF5 file so it is transparent to the end user.
VACfile(fname[, mode, buf]) Base input class for VAC Unformatted binary files.
VAChdf5(filename[, mode]) Based on FortranFile has been modified to read VAC / SAC HDF5 files.

Class Inheritance Diagram

Inheritance diagram of pysac.io.legacy.legacy.SACdata, pysac.io.legacy.legacy.VACdata, pysac.io.legacy.legacy.VACfile, pysac.io.legacy.legacy.VAChdf5