Computer Program Detail Page

Item Picture
Data Tool JS
written by Douglas Brown, Robert Hanson, and Wolfgang Christian
Data Tool is a data analysis tool for plotting and fitting data from laboratory experiments, simulations, video analysis, or any other data set organized into columns.  Data Tool allows the user to plot multiple columns, control the appearance and scale of plots, view statistics, measure slope and area, manually or automatically fit built-in and user-defined functions to experimental data, and define new columns as functions of existing columns.  See the Data Tool online help for additional information.

The Java implementation of the Data Tool program was written by Doug Brown at Cabrillo College using portions of the Open Source Physics code library developed by Wolfgang Christian at Davidson College. Data Tool was later converted from Java to JavaScript by Doug Brown, Wolfgang Christian and Robert Hanson using the href="https://chemapps.stolaf.edu/swingjs/site/swingjs/examples/about.html">SwingJS system developed by Hanson and his students at St. Olaf College. This web page runs the JavaScript conversion.
Subjects Levels Resource Types
General Physics
- General
- Measurement/Units
- Lower Undergraduate
- High School
- Upper Undergraduate
- Instructional Material
= Laboratory
- Tool
= Code
= Software
Material Category Lab Software Type Ratings
- Software Exchange
- Computer Code
  • Currently 0.0/5

Want to rate this material?
Login here!


Intended Users:
Educator
Learner
Formats:
application/zip
text/html
application/javascript
Access Rights:
Free access
License:
This material is released under a GNU General Public License Version 3 license. GNU GPL
Rights Holder:
Doug Brown
PACSs:
01.50.hv
01.50.Lc
Keywords:
data analysis, datatool, graph tool
Record Cloner:
Metadata instance created July 20, 2020 by Wolfgang Christian
Record Updated:
August 24, 2020 by Wolfgang Christian
Last Update
when Cataloged:
July 21, 2020
Other Collections:

JS security settings

Author: Wolfgang
Posted: July 23, 2020 at 9:02AM
Source: The Open Source Physics collection

This JavaScript program runs if is loaded from a web server.  However, you must lower the security setting on your browser to allow local JavaScript access if you wish to run it from your desktop without using a server.

» reply

Re: JS security settings

Author: Ibrahima Fall
Posted: Jul 23, 2020 at 9:18AM

> On Jul 23, 2020, Wolfgang posted:
>
> This JavaScript
> program runs if is loaded from a web server.  However,
> you must lower the security setting on your browser
> to allow local JavaScript access if you wish to run
> it from your desktop without using a server.


Thank you Wolfgang, I will try.

best regards

» reply

Re: Re: JS security settings

Author: Wolfgang
Posted: Jul 23, 2020 at 9:27AM

JavaScript Data Tool and the conversion from Java to JavaScript is still beta and we are still fixing minor bugs.  For now, it would be best if you would link to the ComAPDRE version as we will update the code.

» reply

Re: Re: Re: JS security settings

Author: Ibrahima Fall
Posted: Jul 24, 2020 at 5:56AM

> On Jul 23, 2020, Wolfgang posted:
>
> JavaScript Data
> Tool and the conversion from Java to JavaScript is
> still beta and we are still fixing minor bugs.  For
> now, it would be best if you would link to the ComAPDRE
> version as we will update the code.

Thank you again.
I tried to link to CompaDRE version (lowering my browser security to the minimum). The only thing I had was a white square (under the "Data Tool" title) and the text under the square.

best regards

» reply

Can't use Data Tool JS

Author: Ibrahima Fall
Posted: July 22, 2020 at 10:49PM
Source: The Open Source Physics collection

Bonsoir,

Thanks for making the conversion of "DataTool" from java to JavaScript.

However, when I try to open "Data Tool JS" by clicking on "index.html", I have this following alert popup:

"There was a problem loading local files. Check to see that your browser has been set up to read local files.

--Developers: Override J2S.cantLoadLocalFiles to customize this message."

best regards.

I. Fall

» reply

Re: Can't use Data Tool JS

Author: Wolfgang
Posted: Jul 25, 2020 at 12:40PM

Again, pages converted from Java to JavaScript should be run from a server but you can use Firefox if you want to run them from your local file system.

1) Type the following into the Firefox Developer edition  URL field:  about:config
2) Set the Strict Origin Policy to false:  security.fileuri.strict_origin_policy;false

Close and reopen the Firefox browser and your JS pages should run.

» reply

Re: Re: Can't use Data Tool JS

Author: Ibrahima Fall
Posted: Jul 26, 2020 at 4:25AM

> On Jul 25, 2020, Wolfgang posted:
>
> Again, pages converted
> from Java to JavaScript should be run from a server
> but you can use Firefox if you want to run them from
> your local file system.
>
> 1) Type the following into
> the Firefox Developer edition  URL field:  about:confi
>
> 2) Set the Strict Origin Policy to false:  security.fileuri.strict_origin_policy;false
>
> Close
> and reopen the Firefox browser and your JS pages should
> run.

Understood.
Thank you very much.

Regards

» reply

Post a new comment on this item
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
D. Brown, R. Hanson, and W. Christian, Computer Program DATA TOOL JS, Version 1.1 (2020), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283).
AJP/PRST-PER
D. Brown, R. Hanson, and W. Christian, Computer Program DATA TOOL JS, Version 1.1 (2020), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283>.
APA Format
Brown, D., Hanson, R., & Christian, W. (2020). Data Tool JS (Version 1.1) [Computer software]. Retrieved October 30, 2020, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283
Chicago Format
Brown, D, R. Hanson, and W. Christian. "Data Tool JS." Version 1.1. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283 (accessed 30 October 2020).
MLA Format
Brown, Douglas, Robert Hanson, and Wolfgang Christian. Data Tool JS. Vers. 1.1. Computer software. 2020. 30 Oct. 2020 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283>.
BibTeX Export Format
@misc{ Author = "Douglas Brown and Robert Hanson and Wolfgang Christian", Title = {Data Tool JS}, Month = {July}, Year = {2020} }
Refer Export Format

%A Douglas Brown
%A Robert Hanson
%A Wolfgang Christian
%T Data Tool JS
%D July 21, 2020
%U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283
%O 1.1
%O text/html

EndNote Export Format

%0 Computer Program
%A Brown, Douglas
%A Hanson, Robert
%A Christian, Wolfgang
%D July 21, 2020
%T Data Tool JS
%7 1.1
%8 July 21, 2020
%U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=15435&DocID=5283


Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

Data Tool JS:

Is Based On Easy Java Simulations Modeling and Authoring Tool

Use the Easy Java Simulations Modeling and Authoring Tool to edit and to explore the source code for the Data Tool JS.

relation by Wolfgang Christian

Know of another related resource? Login to relate this resource to it.
Save to my folders

Supplements

Contribute

Related Materials