Skip to content

Commit

Permalink
push compiled proto files corresponding to recently changed cedar_det…
Browse files Browse the repository at this point in the history
…ect.proto
  • Loading branch information
smroid committed Jul 21, 2024
1 parent 0e2a860 commit f8a136b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 16 deletions.
28 changes: 16 additions & 12 deletions tetra3/cedar_detect_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 22 additions & 4 deletions tetra3/cedar_detect_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,54 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
DESCRIPTOR: _descriptor.FileDescriptor

class CentroidsRequest(_message.Message):
__slots__ = ("input_image", "sigma", "max_size", "return_binned", "use_binned_for_star_candidates", "detect_hot_pixels")
__slots__ = ("input_image", "sigma", "max_size", "binning", "return_binned", "use_binned_for_star_candidates", "detect_hot_pixels", "estimate_background_region")
INPUT_IMAGE_FIELD_NUMBER: _ClassVar[int]
SIGMA_FIELD_NUMBER: _ClassVar[int]
MAX_SIZE_FIELD_NUMBER: _ClassVar[int]
BINNING_FIELD_NUMBER: _ClassVar[int]
RETURN_BINNED_FIELD_NUMBER: _ClassVar[int]
USE_BINNED_FOR_STAR_CANDIDATES_FIELD_NUMBER: _ClassVar[int]
DETECT_HOT_PIXELS_FIELD_NUMBER: _ClassVar[int]
ESTIMATE_BACKGROUND_REGION_FIELD_NUMBER: _ClassVar[int]
input_image: Image
sigma: float
max_size: int
binning: int
return_binned: bool
use_binned_for_star_candidates: bool
detect_hot_pixels: bool
def __init__(self, input_image: _Optional[_Union[Image, _Mapping]] = ..., sigma: _Optional[float] = ..., max_size: _Optional[int] = ..., return_binned: bool = ..., use_binned_for_star_candidates: bool = ..., detect_hot_pixels: bool = ...) -> None: ...
estimate_background_region: Rectangle
def __init__(self, input_image: _Optional[_Union[Image, _Mapping]] = ..., sigma: _Optional[float] = ..., max_size: _Optional[int] = ..., binning: _Optional[int] = ..., return_binned: bool = ..., use_binned_for_star_candidates: bool = ..., detect_hot_pixels: bool = ..., estimate_background_region: _Optional[_Union[Rectangle, _Mapping]] = ...) -> None: ...

class Rectangle(_message.Message):
__slots__ = ("origin_x", "origin_y", "width", "height")
ORIGIN_X_FIELD_NUMBER: _ClassVar[int]
ORIGIN_Y_FIELD_NUMBER: _ClassVar[int]
WIDTH_FIELD_NUMBER: _ClassVar[int]
HEIGHT_FIELD_NUMBER: _ClassVar[int]
origin_x: int
origin_y: int
width: int
height: int
def __init__(self, origin_x: _Optional[int] = ..., origin_y: _Optional[int] = ..., width: _Optional[int] = ..., height: _Optional[int] = ...) -> None: ...

class CentroidsResult(_message.Message):
__slots__ = ("noise_estimate", "hot_pixel_count", "peak_star_pixel", "star_candidates", "binned_image", "algorithm_time")
__slots__ = ("noise_estimate", "background_estimate", "hot_pixel_count", "peak_star_pixel", "star_candidates", "binned_image", "algorithm_time")
NOISE_ESTIMATE_FIELD_NUMBER: _ClassVar[int]
BACKGROUND_ESTIMATE_FIELD_NUMBER: _ClassVar[int]
HOT_PIXEL_COUNT_FIELD_NUMBER: _ClassVar[int]
PEAK_STAR_PIXEL_FIELD_NUMBER: _ClassVar[int]
STAR_CANDIDATES_FIELD_NUMBER: _ClassVar[int]
BINNED_IMAGE_FIELD_NUMBER: _ClassVar[int]
ALGORITHM_TIME_FIELD_NUMBER: _ClassVar[int]
noise_estimate: float
background_estimate: float
hot_pixel_count: int
peak_star_pixel: int
star_candidates: _containers.RepeatedCompositeFieldContainer[StarCentroid]
binned_image: Image
algorithm_time: _duration_pb2.Duration
def __init__(self, noise_estimate: _Optional[float] = ..., hot_pixel_count: _Optional[int] = ..., peak_star_pixel: _Optional[int] = ..., star_candidates: _Optional[_Iterable[_Union[StarCentroid, _Mapping]]] = ..., binned_image: _Optional[_Union[Image, _Mapping]] = ..., algorithm_time: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ...
def __init__(self, noise_estimate: _Optional[float] = ..., background_estimate: _Optional[float] = ..., hot_pixel_count: _Optional[int] = ..., peak_star_pixel: _Optional[int] = ..., star_candidates: _Optional[_Iterable[_Union[StarCentroid, _Mapping]]] = ..., binned_image: _Optional[_Union[Image, _Mapping]] = ..., algorithm_time: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ...) -> None: ...

class Image(_message.Message):
__slots__ = ("width", "height", "image_data", "shmem_name")
Expand Down

0 comments on commit f8a136b

Please sign in to comment.