Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶
type Params struct {
On bool `` /* 198-byte string literal not displayed */
TimeSize int `` /* 146-byte string literal not displayed */
FreqSize int `` /* 167-byte string literal not displayed */
TimeStride int `viewif:"On" desc:" spacing in the time (horizontal) domain, in terms of steps"`
FreqStride int `viewif:"On" desc:" spacing in the frequency (vertical) domain"`
WaveLen float32 `viewif:"On" def:"1.5,2" desc:"wavelength of the sine waves in normalized units"`
SigmaLen float32 `` /* 182-byte string literal not displayed */
SigmaWidth float32 `` /* 169-byte string literal not displayed */
HorizSigmaLen float32 `` /* 165-byte string literal not displayed */
HorizSigmaWidth float32 `` /* 180-byte string literal not displayed */
Gain float32 `` /* 164-byte string literal not displayed */
NHoriz int `` /* 307-byte string literal not displayed */
NAng int `` /* 174-byte string literal not displayed */
PhaseOffset float32 `` /* 165-byte string literal not displayed */
CircleEdge bool `` /* 143-byte string literal not displayed */
NFilters int `viewif:"On" desc:" total number of filters = 3 + NHoriz"`
}
Gabor params for auditory gabor filters: 2d Gaussian envelope times a sinusoidal plane wave -- by default produces 2 phase asymmetric edge detector filters -- horizontal tuning is different from V1 version -- has elongated frequency-band specific tuning, not a parallel horizontal tuning -- and has multiple of these
func (*Params) Init ¶ added in v0.9.3
func (ga *Params) Init()
must call even if not overriding params
func (*Params) RenderFilters ¶
RenderFilters generates filters into the given matrix, which is formatted as: [ga.TimeSize_steps][ga.FreqSize][n_filters]
Click to show internal directories.
Click to hide internal directories.