Changeset 2817 for trunk/docs
- Timestamp:
- May 2, 2017 10:03:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/source/imports.rst
r2802 r2817 3 3 4 4 Imports are implemented by deriving a class from 5 :class:`GSASII IO.ImportPhase`, :class:`GSASIIIO.ImportStructFactor`,6 :class:`GSASII IO.ImportPowderData`5 :class:`GSASIIobj.ImportPhase`, :class:`GSASIIobj.ImportStructFactor`, 6 :class:`GSASIIobj.ImportPowderData` 7 7 or :class:`GSASIIIO.ImportPowderData` (which are in turn 8 derived from :class:`GSASII IO.ImportBaseclass`)8 derived from :class:`GSASIIobj.ImportBaseclass`) 9 9 to implement import of 10 10 a phase, a single crystal or a powder dataset, respectively. … … 147 147 _________________________ 148 148 149 Note that the base class (:class:`GSASIIIO.ImportBaseclass`) supplies two routines, 150 :meth:`~GSASIIIO.ImportBaseclass.BlockSelector` and 151 :meth:`~GSASIIIO.ImportBaseclass.MultipleBlockSelector` that are useful for 152 selecting amongst one or more datasets (and perhaps phases) for 149 Note that GSASIIIO supplies three routines, 150 :meth:`~GSASIIIO.BlockSelector` 151 :meth:`~GSASIIIO.MultipleBlockSelector` and 152 :meth:`~GSASIIIO.MultipleChoiceSelector` that are useful for 153 selecting amongst one or more datasets (and perhaps phases) or data items for 153 154 ``Reader()`` routines that may encounter more than one set of information 154 155 in a file. 155 156 Likewise, when an operation will take some time to complete, 156 use :meth:`~GSASIIIO.ImportBaseclass.ShowBusy` and 157 :meth:`~GSASIIIO.ImportBaseclass.DoneBusy` to show the user 158 that something is happening. 159 157 use :meth:`~GSASIIIO.ShowBusy` and 158 :meth:`~GSASIIIO.DoneBusy` to show the user that something is happening. 160 159 161 160 ContentsValidator() … … 205 204 ---------------------------------------- 206 205 Phase import routines are classes derived from 207 :class:`GSASII IO.ImportPhase`.206 :class:`GSASIIobj.ImportPhase`. 208 207 They must be found in files named `G2phase*.py` that are in the Python path 209 208 and the class must override the ``__init__`` method and add a ``Reader`` method. … … 231 230 --------------------------------------------- 232 231 Powder data import routines are classes derived from 233 :class:`GSASII IO.ImportPowderData`.232 :class:`GSASIIobj.ImportPowderData`. 234 233 They must be found in files named `G2pwd*.py` that are in the Python path 235 234 and the class must override the ``__init__`` method and add a … … 275 274 ----------------------------------------------------- 276 275 Single crystal data import routines are classes derived from 277 , :class:`GSASII IO.ImportStructFactor`.276 , :class:`GSASIIobj.ImportStructFactor`. 278 277 They must be found in files named `G2sfact*.py` that are in the Python path 279 278 and the class must override the ``__init__`` method and add a ``Reader`` method. … … 292 291 ----------------------------------------------------- 293 292 Small angle scattering data import routines are classes derived from 294 , :class:`GSASII IO.ImportSmallAngle`.293 , :class:`GSASIIobj.ImportSmallAngle`. 295 294 They must be found in files named `G2sad*.py` that are in the Python path 296 295 and the class must override the ``__init__`` method and add a ``Reader`` method. … … 348 347 ----------------------------------------------------- 349 348 PDF import routines are classes derived from 350 :class:`GSASII IO.ImportPDFData`.349 :class:`GSASIIobj.ImportPDFData`. 351 350 See :ref:`Writing a Import Routine<Import_Routines>` for general information on importers. 352 351 … … 359 358 ----------------------------------------------------- 360 359 Reflectometry import routines are classes derived from 361 :class:`GSASII IO.ImportReflectometryData`.360 :class:`GSASIIobj.ImportReflectometryData`. 362 361 See :ref:`Writing a Import Routine<Import_Routines>` for general information on importers. 363 362
Note: See TracChangeset
for help on using the changeset viewer.