I’m trying out the Android SDK for my Muse

Is it correct that the sdk only offers raw eeg data and not fft or band power data?

If so can you help us the code to calculate the band powers?

# Android SDK data

**uri_lazar**#1

**Enigma644**#2

You can find the MuseDataPacket types here: http://android.choosemuse.com/enumcom_1_1choosemuse_1_1libmuse_1_1_muse_data_packet_type.html

Absolute or Relative band powers are available, but if you want to calculate discrete frequency power like I do in Muse Monitor, you will have to calculate those FFT’s yourself.

Note that you have to enable each packet type separately during initialisation with a data listener e.g. `muse.registerDataListener(dataListener,MuseDataPacketType.ALPHA_ABSOLUTE);`

.

**anurag**#3

Is there any formula/algorithm available for calculating these frequency powers? It would be really helpful if you can suggest some quick solution for it. Thanks…

**Enigma644**#4

FFT is the algorithm to calculate frequency powers. You can find many code examples here.

**Max**#5

@Enigma644, are you taking into account non-uniform time-stamps that are coming from Muse? Any idea about why those happen? Is it really sampling at non-uniform time intervals or those timestamps mean something different?