krakentools.groupconstants.genpoly.records.pins.PinTable¶
- class krakentools.groupconstants.genpoly.records.pins.PinTable(x_0s, y_0s, x_widths, y_widths, hmass_per_cms)¶
Bases:
object
Pin power constant data.
- __init__(x_0s, y_0s, x_widths, y_widths, hmass_per_cms)¶
Methods
__init__
(x_0s, y_0s, x_widths, y_widths, ...)from_file
(fin)- rtype:
Optional
[PinTable
]
from_nodebranch
(nb, hmass_per_cm)- rtype:
write_to_file
(fout)Writes the record to a file.
- write_to_file(fout)¶
Writes the record to a file.
- Parameters:
that (fout {TextIO} -- Pre opened TextIO with a .write() method) – can be used.
- Return type:
None