Need help with a new Marionette node

Recommended Posts

i'm working on a new tool using marionettes , i used to modify some nodes to get what i want , but at this level i don't know what to do , so i need someone (who know scripting) to build a node for me.

the job of the wanted node is to calculate the minimum number in a portions of the input "list" , the length of portion is defined by the input "step" , and as result it returns a list of booleans (true if the item is the min number , false if not) and a list of indexes of the minimum numbers in each portion (the index related to the input list not the portion).