Open
Description
Description of the desired feature
The x2sys
package contains the following modules for cross-over analysis:
- x2sys_binlist
- x2sys_cross
- x2sys_datalist
- x2sys_get
- x2sys_init
- x2sys_list
- x2sys_merge
- x2sys_put
- x2sys_report
- x2sys_solve
Currently, PyGMT provides wrappers for x2sys_init
and x2sys_cross
as separate functions under the pygmt
namespace.
Perhaps it's more Pythonic to wrap all the modules in a class instead. The syntax would be same thing like:
from pygmt import X2SYS
x2sys = X2SYS(...) # Class __init__ function that wraps `x2sys_init`
x2sys.cross() # Wraps `x2sys_cross`
x2sys.solve() # Wraps `x2sys_solve`
...
Disclaimer: I've never used x2sys.
Are you willing to help implement and maintain this feature?
No