Skip to content

Commit

Permalink
Merge pull request #163 from pyfar/docs/io
Browse files Browse the repository at this point in the history
Docs io
  • Loading branch information
mberz committed Apr 11, 2021
2 parents 9378b2b + 308c5ee commit 66f54de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyfar/io/io.py
Expand Up @@ -27,7 +27,7 @@

def read_wav(filename):
"""
Import a WAV file as :py:class:`Signal <pyfar.signal.Signal>` object.
Import a WAV file as :py:class:`~pyfar.classes.audio.Signal` object.
Parameters
----------
Expand All @@ -37,7 +37,7 @@ def read_wav(filename):
Returns
-------
signal : Signal
:py:class:`Signal <pyfar.signal.Signal>` object containing the audio
:py:class:`~pyfar.classes.audio.Signal` object containing the audio
data from the WAV file.
Notes
Expand All @@ -52,7 +52,7 @@ def read_wav(filename):

def write_wav(signal, filename, overwrite=True):
"""
Write a :py:class:`Signal <pyfar.signal.Signal>` object as a WAV file to
Write a :py:class:`~pyfar.classes.audio.Signal` object as a WAV file to
disk.
Parameters
Expand Down Expand Up @@ -96,7 +96,7 @@ def write_wav(signal, filename, overwrite=True):

def read_sofa(filename):
"""
Import a SOFA file as :py:class:`Signal <pyfar.signal.Signal>` object.
Import a SOFA file as :py:class:`~pyfar.classes.audio.Signal` object.
Parameters
----------
Expand All @@ -106,7 +106,7 @@ def read_sofa(filename):
Returns
-------
signal : Signal
:py:class:`Signal <pyfar.signal.Signal>` object containing the data
:py:class:`~pyfar.classes.audio.Signal` object containing the data
stored in `SOFA_Object.Data.IR`.
`cshape` is equal to ``(number of measurements, number of receivers)``.
source_coordinates : Coordinates
Expand Down

0 comments on commit 66f54de

Please sign in to comment.