nextpyp.client.gen.MicrographMetadata#

class nextpyp.client.gen.MicrographMetadata#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

MicrographMetadata

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

id

(no description yet)

timestamp

(no description yet)

ccc

(no description yet)

cccc

(no description yet)

defocus1

(no description yet)

defocus2

(no description yet)

angle_astig

(no description yet)

average_motion

(no description yet)

num_particles

(no description yet)

source_dims

(no description yet)

Details

__init__(id, timestamp, ccc, cccc, defocus1, defocus2, angle_astig, average_motion, num_particles, source_dims)#
Parameters:
  • id (str) –

  • timestamp (int) –

  • ccc (float) –

  • cccc (float) –

  • defocus1 (float) –

  • defocus2 (float) –

  • angle_astig (float) –

  • average_motion (float) –

  • num_particles (int) –

  • source_dims (ImageDims | None) –

Return type:

None

angle_astig: float#

(no description yet)

average_motion: float#

(no description yet)

ccc: float#

(no description yet)

cccc: float#

(no description yet)

defocus1: float#

(no description yet)

defocus2: float#

(no description yet)

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

MicrographMetadata

Parameters:
  • json (Dict[str, Any]) –

  • type_ids (Dict[str, str] | None) –

id: str#

(no description yet)

num_particles: int#

(no description yet)

source_dims: Optional[ImageDims]#

(no description yet)

timestamp: int#

(no description yet)

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]