You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am so real real New in GOLANG.
I try to use you code for butterworth 1st order highpass filter for DSP.
I want ask the code using method for your code
I coded like
package main
import (
"github.com/jfcg/butter"
}
func main() {
signal1, err := dsp.ReadSignalFile("./signal.txt', 0.016666) //1 column data for water well height recoded each 60 seconds
if err !=nil {
panic(err)
}
signal2 := butter.NewHighPass1(0.005, signal1)
so, I did fmt.Println("signal2: ", signal2.Signal[0:10])
but failed.
the error massage replys,
signal2.Signal undefined (type butter.Filter has no field or method Signal)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am so real real New in GOLANG.
I try to use you code for butterworth 1st order highpass filter for DSP.
I want ask the code using method for your code
I coded like
package main
import (
"github.com/jfcg/butter"
}
func main() {
signal1, err := dsp.ReadSignalFile("./signal.txt', 0.016666) //1 column data for water well height recoded each 60 seconds
if err !=nil {
panic(err)
}
so, I did fmt.Println("signal2: ", signal2.Signal[0:10])
but failed.
the error massage replys,
Beta Was this translation helpful? Give feedback.
All reactions