Changeset 3823
- Timestamp:
- Feb 13, 2019 5:43:05 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIobj.py
r3822 r3823 2025 2025 2026 2026 Objects constructed that subclass this (in import/G2phase_*.py etc.) will be used 2027 in :meth:`GSASIIdataGUI.GSASII.OnImportPhase`. 2028 See :ref:`Writing a Import Routine<Import_Routines>` 2027 in :meth:`GSASIIdataGUI.GSASII.OnImportPhase` and in 2028 :func:`GSASIIscriptable.import_generic`. 2029 See :ref:`Writing a Import Routine<import_routines>` 2029 2030 for an explanation on how to use this class. 2030 2031 … … 2048 2049 :meth:`Reader`. 2049 2050 2050 See :ref:`Writing a Import Routine< Import_Routines>`2051 See :ref:`Writing a Import Routine<import_routines>` 2051 2052 for an explanation on how to use import classes in general. The specifics 2052 2053 for reading a structure factor histogram require that … … 2103 2104 2104 2105 Objects constructed that subclass this (in import/G2pwd_*.py etc.) will be used 2105 in :meth:`GSASIIdataGUI.GSASII.OnImportPowder`. 2106 See :ref:`Writing a Import Routine<Import_Routines>` 2106 in :meth:`GSASIIdataGUI.GSASII.OnImportPowder` and in 2107 :func:`GSASIIscriptable.import_generic`. 2108 See :ref:`Writing a Import Routine<import_routines>` 2107 2109 for an explanation on how to use this class. 2108 2110 ''' … … 2146 2148 class ImportSmallAngleData(ImportBaseclass): 2147 2149 '''Defines a base class for the reading of files with small angle data. 2148 See :ref:`Writing a Import Routine< Import_Routines>`2150 See :ref:`Writing a Import Routine<import_routines>` 2149 2151 for an explanation on how to use this class. 2150 2152 ''' … … 2180 2182 class ImportReflectometryData(ImportBaseclass): 2181 2183 '''Defines a base class for the reading of files with reflectometry data. 2182 See :ref:`Writing a Import Routine< Import_Routines>`2184 See :ref:`Writing a Import Routine<import_routines>` 2183 2185 for an explanation on how to use this class. 2184 2186 ''' … … 2214 2216 class ImportPDFData(ImportBaseclass): 2215 2217 '''Defines a base class for the reading of files with PDF G(R) data. 2216 See :ref:`Writing a Import Routine< Import_Routines>`2218 See :ref:`Writing a Import Routine<import_routines>` 2217 2219 for an explanation on how to use this class. 2218 2220 ''' … … 2248 2250 methods :meth:`ExtensionValidator`, :meth:`ContentsValidator` and 2249 2251 :meth:`Reader`. This returns a list of reader objects for each read image. 2252 Also used in :func:`GSASIIscriptable.import_generic`. 2250 2253 2251 2254 * Images are read alternatively in :func:`GSASIIIO.ReadImages`, which puts image info … … 2253 2256 2254 2257 * Images are reloaded with :func:`GSASIIIO.GetImageData`. 2255 2256 .. _Image_import_routines:2257 2258 2258 2259 When reading an image, the ``Reader()`` routine in the ImportImage class … … 2281 2282 2282 2283 Note that the above is initialized with :meth:`InitParameters`. 2283 (Also see :ref:`Writing a Import Routine< Import_Routines>`2284 (Also see :ref:`Writing a Import Routine<import_routines>` 2284 2285 for an explanation on how to use import classes in general.) 2285 2286 ''' -
trunk/docs/source/imports.rst
r3822 r3823 155 155 in a file. 156 156 157 .. _ContentsValidator: 158 157 159 ContentsValidator() 158 160 ~~~~~~~~~~~~~~~~~~~~ 159 160 .. _ContentsValidator:161 161 162 162 Defining a ``ContentsValidator`` method is optional, but is usually a … … 301 301 Image import routines are classes derived from 302 302 :class:`GSASIIIO.ImportImage`. 303 See :ref:`Writing a Import Routine<Import_Routines>` for general 304 information on importers and 305 :ref:`the ImportImage docstring<Image_import_routines>` 306 for what a reader should define. 303 See :ref:`Writing a Import Routine<import_routines>` for general 304 information on importers and the :class:`GSASIIobj.ImportImage` for 305 information on what class variables a reader should set. 307 306 Image importers must be found in files named `G2img*.py` that are in the Python path 308 307 and the class must override the ``__init__`` method and add a
Note: See TracChangeset
for help on using the changeset viewer.