alan-turing-institute / pixelflow

BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Allow easier output of 'features' table to csv? #7

Closed evangeline-corcoran closed 1 year ago

evangeline-corcoran commented 1 year ago

Currently we can output the pixelflow results table using:

features.features.to_csv('results.csv', header=True, index=False)

But it would be helpful if you could call features.to_csv to get this, or if an argument could be added calling pixelflow i.e. pixelflow(mask, img, features = x, custom_func = custom_func, output = 'csv')