插件过滤器稳定版

Spectra Filter (Chemdoodle)

filter_chemdoodleCarl LeBlond

  • Moodle 2.3–2.7
  • 更新 2014-08-31

A Moodle text filter that convert links to JCAMP-DX files (*.jdx) to interactive Chemdoodle Web Component Spectra Canvas’s.
Overview
This software is no longer maintained and has been superseded by the  OpenOChem LTI Assessment System .
This is a text filter which convert links to JCAMP-DX files (*.jdx) to interactive Chemdoodle Webcomponent Spectra Canvas’s.
Usage
There are three possible spectra configurations possible;
Perspective Canvas – With a ChemDoodle Perspective canvas you can zoom in and adjust the scale of the spectrum. This is the default setting.
Seeker canvas – The Seeker canvas allows the user to obtain or see the coordinates of points on the spectrum. To use the Seeker canvas add ?c=2 at the end of the URL when you create the link or by editing the link.
Linked Perspective and Seeker Canvas – This option provides two linked spectrum. To use both Perspective and Seeker, add ?c=3 to the link url.
Title control
You can also control the title. Adding ?c=2&title=none to the end of the link URL will setup a Seeker canvas with a blank title. This is useful when including spectrum in quiz questions. Adding ?title=NEW TITLE will override the existing title found in the jdx file. The default is to use the title from the jdx file.
Flipping the X-axis
Adding ?c=1&flipaxis=false to the end of the link URL will create a perspective canvas without a flipped axis (i.e. the scale will increase from left to right). The default setting is true (i.e. the x-axis is flipped)
x-axis max and min
Adding ?minx=4&maxx=6 will adjust the initial x-axis max and min scale of the spectrum.
Integration Line
The integration line can be turned off by adding &int=off at end of URL. By default the integration is turned on.
The following is an examples illustrate the three possible ChemDoodle canvas options.  With a ChemDoodle Perspective canvas you can zoom in and adjust the scale of the spectra.
License
This plugin adopts the same license that Moodle does.  The ChemDoodle Web Components are included in this package which are under a GPLv3 license.

返回插件目录