sunpy / ndcube

A base package for multi-dimensional contiguous and non-contiguous coordinate-aware arrays.
http://docs.sunpy.org/projects/ndcube/
BSD 2-Clause "Simplified" License
44 stars 48 forks source link

Create an analysis subpackage #725

Open DanRyanIrish opened 5 months ago

DanRyanIrish commented 5 months ago

Describe the feature

This issue proposes a new analysis subpackage for functions that take NDCubeABC instances and perform some analysis task. The scope of this subpackage should be as follows:

The subpackage should contain modules which encompass certain types of tasks. As a start, this issue proposes the following modules:

NDCube methods vs. analysis functions

Similar to numpy, NDCube can have methods that simply call an analysis function, e.g., rebin and crop. But when should NDCube have a method as well as an analysis function? The criterion for a method to exist should be that:

Proposed solution

No response

DanRyanIrish commented 5 months ago

ping @hayesla @Cadair