catm-python-lib
Loading...
Searching...
No Matches
catmlib.readoutpad.basepad Namespace Reference

Basic readout pad generation package. More...

Functions

 generate_regular_n_polygon (n=3, length=3, theta=0, flag=True)
 generate regular n polygon
 generate_oblong_4_polygon (longlength=4, shortlength=2, plane='yz', flag=True)
 oblong 4 polygon

Detailed Description

Basic readout pad generation package.

@file basepad.py

autotoc_md1

Version
1

autotoc_md2

Author
Fumitaka ENDO

autotoc_md3

Date
2025-01-28T09:21:35+09:00

autotoc_md4

Function Documentation

◆ generate_oblong_4_polygon()

catmlib.readoutpad.basepad.generate_oblong_4_polygon ( longlength = 4,
shortlength = 2,
plane = 'yz',
flag = True )

oblong 4 polygon

Parameters
longlengthlength of long side
shortlengthlength of short side
planeprojection plane
flagplot pad (default:True)
Returns
object of TBasePadShapeClass

Definition at line 268 of file basepad.py.

◆ generate_regular_n_polygon()

catmlib.readoutpad.basepad.generate_regular_n_polygon ( n = 3,
length = 3,
theta = 0,
flag = True )

generate regular n polygon

Parameters
nnumber of vertex
lengthlength of daistance between each vertex
thetarotation angle
flagplot pad (default:True)
Returns
object of TBasePadShapeClass

Definition at line 239 of file basepad.py.