I’d like to extract the “te band” values from this list:
“tefreqs:”, “k index”, “k1”, “k2”, “k3”, “kmag/2pi”, “te band 1”, “te \ band 2”, “te band 3”, “te band 4”, “te band 5”, “te band 6”, “te band \ 7”, “te band 8”, “tefreqs:”, 1, 0, 0, 0, 0, 0, 0.561229, 0.793929, \ 0.794659, 1.03341, 1.03342, 1.11597, 1.11681, “tefreqs:”, 2, 0, 0.1, \ 0, 0.11547, 0.101865, 0.559805, 0.79146, 0.793258, 0.992126, 1.02845, \ 1.09799, 1.1151,
Apologies for the formatting of the list, I’m sure there’s a nicer way to show it.
I’m guessing this might involve the Take command in some way – I’d like to extract the 7th-14th values, then the 21-28th values etc. I wanted to try using Take to say take eight values starting on the 7th element, then leave six, then take the next eight, but in the documentation I can’t see that Mathematica allows extraction of a range.