PitchMap¶
- class astronify.series.PitchMap(pitch_func=<function data_to_pitch>, **pitch_args)[source]¶
Bases:
object
Class that encapsulates the data value to pitch function and associated arguments.
- Parameters
- pitch_funcfunction
Optional. Defaults to
data_to_pitch
. If supplying a function it should take a data array as the first parameter, and all other parameters should be optional.- **pitch_args
Default parameters and values for the pitch function. Should include all necessary arguments other than the data values.
Attributes Summary
Dictionary of additional arguments (other than the data array) for the pitch mapping function.
The pitch mapping function.
Methods Summary
__call__
(data)Where does this show up?
Attributes Documentation
- pitch_map_args¶
Dictionary of additional arguments (other than the data array) for the pitch mapping function.
- pitch_map_func¶
The pitch mapping function.
Methods Documentation