pyp.streampyp package
Contents
pyp.streampyp package¶
Submodules¶
pyp.streampyp.jobs module¶
pyp.streampyp.logging module¶
pyp.streampyp.metadb_daemon module¶
- class CTF(mean_df, cc, df1, df2, angast, ccc, x, y, z, pixel_size, voltage, magnification, cccc, counts)[source]¶
Bases:
tuple
- class MetaDB(timeout_ms=30000)[source]¶
Bases:
object
- class Micrograph(db, session, id)[source]¶
Bases:
object
- class Session(db, group_id, session_id)[source]¶
Bases:
object
- count_micrographs()[source]¶
Count the number of micrographs that have been created, not the number of micrograph IDs saved to the session.
- Return type
int
- create(created)[source]¶
Create a new session, or re-create an existing session.
- Parameters
created (int) – Creation time of the session, in milliseconds since the Unix epoch
- class TwoDClasses(db, session, id)[source]¶
Bases:
object
- create(created, width, height)[source]¶
Create a new 2D classes image, or re-create an existing 2D classes image.
- Parameters
created (int) – Creation time of the 2D classes image, in milliseconds since the Unix epoch
width (int) – Width of the image, in pixels
height (int) – Height of the image, in pixels