![]() static Function readJSON( String content): shortcut method to read ChemDoodle JSON from a string and return an object with two parameters, molecules and shapes, without instantiating a JSONInterpreter this function will automatically handle the type of JSON object received.static Function readJCAMP( String content): shortcut method to read a IUPAC JCAMP-DX file and return the corresponding Spectrum without instantiating a JCAMPInterpreter this shortcut method will automatically convert HZ to PPM.static Function readCML(): shortcut method to read CML and return the corresponding reaction data without instantiating an CMLInterpreter.In addition to reading atoms from CIF files, this interpreter will also produce a unit cell and other objects relevant to the display of periodic information static Function readCIF( String content, Number xSuper, Number ySuper, Number zSuper): shortcut method to read a CIF file and return the corresponding Molecule and unit cell shape without instantiating a CIFInterpreter the returned object will contain two parameters, molecule and unitCell the three optional integers specify the supercell dimensions, by default they are all 1, so reading a file without specifying these parameters will produce just the unit cell.static Function getVersion(): returns the version of the ChemDoodle Web Components library changing this value in source is not recommended.static Array SYMBOLS: a numbered Array containing all element symbols, where the index is the element's atomic number - 1 (index starts at 0 for hydrogen).static Array RESIDUE: a hashmap for residue data where the residue's symbol is the key and the corresponding Residue data structure is the value.static Array ELEMENT: a hashmap for elemental data where the element's symbol is the key and the corresponding Element data structure is the value.It contains access to all packages, canvases and layouts as well as shortcut functions for common tasks. Documentation ChemDoodlethis package is the root for all contents of the ChemDoodle Web Components library. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |