You are a guest. Restricted access. Read more.
SCaVis manual

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
man:io:input_output [2014/01/28 17:12]
admin [ASCII formats]
man:io:input_output [2014/10/27 19:31] (current)
admin [File input/output]
Line 21: Line 21:
   * Google'​s [[http://​code.google.com/​p/​protobuf/​|Protocol Buffers library]] which is fully integrated, thus all SCaVis Java data containers can be accessed or written using C++ program (or any other which are supported by the Protocol Buffers).   * Google'​s [[http://​code.google.com/​p/​protobuf/​|Protocol Buffers library]] which is fully integrated, thus all SCaVis Java data containers can be accessed or written using C++ program (or any other which are supported by the Protocol Buffers).
   * Data (mainly time series) can be read and saved using ASCII, Gauss, Matlab, Excel formats (PRO edition).   * Data (mainly time series) can be read and saved using ASCII, Gauss, Matlab, Excel formats (PRO edition).
-  * **DIF** - Data Interchange Format ​as described in [[http://​en.wikipedia.org/​wiki/​Data_Interchange_Format| DIF description]]+  * **DIF** - Data Interchange Format ​(see [[http://​en.wikipedia.org/​wiki/​Data_Interchange_Format| ​the DIF description]]
 +  * **[[http://​en.wikipedia.org/​wiki/​Comma-separated_values | CSV]]** - Comma-separated_values format. 
 +  * **[[https://​github.com/​edn-format/​edn | EDN]]** - is an extensible data notation format.
  
 SCaVis is 100% Java, but the unique feature is that it fully supports many ways to share data between Java and C++ or other programming languages. SCaVis is 100% Java, but the unique feature is that it fully supports many ways to share data between Java and C++ or other programming languages.
Line 50: Line 52:
 in a persistent form. This will be considered in this section. in a persistent form. This will be considered in this section.
  
 +
 +Here is a short summary of the input-output classes for data:
 +
 +  * <javadoc sc>​jhplot.io.Serialized</​javadoc>​ - Write/read read any Java object (lists, maps, etc.) using the Java serialization.
 +  * <javadoc sc>​jhplot.io.HFile</​javadoc>​ - Write/read read any Java object in sequential order using the Java serialization.
 +  * <javadoc sc>​jhplot.io.HFileXML</​javadoc>​ - Write/read read any Java object in sequential order using the XML  serialization.
 +  * <javadoc sc>​jhplot.io.EFile</​javadoc> ​ - Write/read SCaVis data structures (P1D,​P2D,​H1D,​H2D) in files using Google'​s Prototype Buffer (cross platform)
 +  * <javadoc sc>​jhplot.io.EFile</​javadoc> ​ - Write/read SCaVis data structures (P1D,​P2D,​H1D,​H2D) in sequential order into ntuples using Google'​s Prototype Buffer (cross platform)
  
  
Line 131: Line 141:
  
 Note that this module is pure Python, so this example will not work using Java. Note that this module is pure Python, so this example will not work using Java.
-The DOF file format can write most of data structures supported by ScaVis. Read more in [[man:​io:​dif | DIF file format]] section that+The DIF file format can write most of data structures supported by ScaVis. Read more in [[man:​io:​dif | DIF file format]] section that
 describes Java implementation of this format. Section [[man:​io:​csv | CSV format]] explains how to write data in CSV files. describes Java implementation of this format. Section [[man:​io:​csv | CSV format]] explains how to write data in CSV files.
  
man/io/input_output.txt · Last modified: 2014/10/27 19:31 by admin
CC Attribution-Share Alike 3.0 Unported
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5