You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use Class Methods for Grid Construction (i.e. Grid.from_verticies()) #378
uxarray.Grid.init(self, string file)
(*) uxarray.Grid.init(self, string gridspec)
uxarray.Grid.init(self, np.float64.list vertices)
How about making the last two classmethods instead to avoid overloading init
grid = uxarray.Grid.from_gridspec(...),
grid = uxarray.Grid.from_vertices(...)
Even Grid.from_file looks nice to me but if that's the most common usecase, perhaps Grid.init(self, file) would be most convenient.
Activity