mt_metadata icon indicating copy to clipboard operation
mt_metadata copied to clipboard

TF.has_impedance is slow

Open kujaku11 opened this issue 1 year ago • 0 comments

There is a slowdown or bottleneck in TF.has_{attr}. xarray.sel is currenlty slow, so there may be a better way to test if components are empty or not without using sel. See https://github.com/pydata/xarray/issues/2452. The main issue is that is returning a new data array, which takes time and is not necessary for this function.

kujaku11 avatar Apr 19 '24 20:04 kujaku11