where the kern_par, kern_str and point_str, point_par are separate is messy as hell! Not to mention their nonsensical order.
These should be joined together into a dicts! So kernel_spec : dict would contain info from kern_str and kern_par, and similarly for point_spec : dict. In the end, it could look like this:
Having this signature of
__init__()
where the
kern_par
,kern_str
andpoint_str
,point_par
are separate is messy as hell! Not to mention their nonsensical order.These should be joined together into a dicts! So
kernel_spec : dict
would contain info fromkern_str
andkern_par
, and similarly forpoint_spec : dict
. In the end, it could look like this: