Skip to content

Commit 07d14b9

Browse files
committed
refactor: EXRHeader의 일부 method 이름을 pythonic하게 변경하다
1 parent 8985319 commit 07d14b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openexr_python/exr_header.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@ def display_window(self) -> EXRWindow:
3636
return EXRWindow.parse_raw_to_window(raw_dataWindow)
3737

3838
@property
39-
def lineOrder(self) -> EXRLineOrderType:
39+
def line_order(self) -> EXRLineOrderType:
4040
raw_line_order: Any = self["lineOrder"]
4141
return EXRLineOrderType.parse_raw2pyobj(raw_line_order=raw_line_order)
4242

4343
@property
44-
def pixelAspectRatio(self) -> float:
44+
def pixel_aspect_ratio(self) -> float:
4545
raw_pixel_aspect_ratio: float = self["pixelAspectRatio"]
4646
return raw_pixel_aspect_ratio
4747

4848
@property
49-
def screenWindowCenter(self) -> Tuple[float, float]:
49+
def screen_window_center(self) -> Tuple[float, float]:
5050
raw_screen_window_center: Any = self["screenWindowCenter"]
5151
return (raw_screen_window_center.x, raw_screen_window_center.y)
5252

5353
@property
54-
def screenWindowWidth(self) -> float:
54+
def screen_window_width(self) -> float:
5555
raw_screen_window_width: float = self["screenWindowWidth"]
5656
return raw_screen_window_width

0 commit comments

Comments
 (0)