Skip to content

jythonToJavaConverter

Jeremy Faden edited this page Jun 14, 2024 · 3 revisions

Purpose: outline syntax conversions for converting Jython code into Java code.

Audience: Autoplot developers

Introduction

I often have to convert a code I've prototyped in Jython to a fast production Java code. Much of this work could be automated, and this would be a menu item.

Notes

from org.autoplot import AutoplotUI import org.autoplot.AutoplotUI
inE=False boolean inE= false;
drE=None Object drE= null;
state='open' String state= "open";
while ( cond ): while ( cond ) { ... }
dsb=DataSetBuilder(2,100,2) DataSetBuilder dsb= new DataSetBuilder(2,100,2)
tE[iE,1].le(tB[iB,0]) datum(tE.slice(iE).slice(1)).le(datum(tB.slice(iB).slice(0)))
indents indents turn into {}, semicolons added

Table Of Contents

URIs that Point to Data Files

Download a CDF and Plot it with Autoplot

Load a CDF directly from a website

URIs that Point to Data Servers

Saving to vap files

Loading vap files

Data Sources

CDF Files

HDF/NetCDF Files

Aggregation

CDAWeb

HAPI Servers

Exporting Data

Export Types

Additional controls

Aggregation

Tools

PNGWalk Tool

Data Mash Up

Events List

Run Batch

Advanced Topics

TimeSeriesBrowse and other Capabilities

Events Lists

Caching

Autoranging

Managing Autoplot's Data Cache

Using Autoplot with Python, IDL, and Matlab

Reading data into Python

Reading data into IDL

Reading data into Matlab

QDataSet Data Model

Clone this wiki locally