mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-10-02 23:02:10 +02:00
Make edits to the docs to handle the lowercaseness of cdtools now
This commit is contained in:
@@ -10,10 +10,7 @@ implemented by default in pytorch (such as drawing data in a random order,
|
||||
drawing minibatches, etc.)
|
||||
|
||||
New Datasets can be defined a subclass of the main CDataset class defined
|
||||
in the base.py file. Example implementations of all these functions
|
||||
can be found in the code for the Ptycho2DDataset class. In addition, it is
|
||||
recommended to read through the tutorial section on defining a new CDI
|
||||
dataset before attempting to do so
|
||||
in the base.py file, and should define the following functions:
|
||||
|
||||
* __init__
|
||||
* __len__
|
||||
@@ -23,6 +20,11 @@ dataset before attempting to do so
|
||||
* to_cxi
|
||||
* inspect
|
||||
|
||||
Example implementations of all these functions can be found in the code
|
||||
for the Ptycho2DDataset class. In addition, it is recommended to read
|
||||
through the tutorial section on defining a new CDI dataset before
|
||||
attempting to do so
|
||||
|
||||
"""
|
||||
|
||||
# I don't believe that __all__ really needed, but it's nice to define it
|
||||
|
||||
Reference in New Issue
Block a user