opensoundscape
OpenSoundscape
Introduction
Resources
Orientation for PyTorch users
Installation
Mac and Linux
Windows
Create a conda environment from the included yml file
Jupyter
Google Colab
Contributors
Basic Tutorials
Audio
Spectrograms
Use a CNN to recognize sounds
Agile Bioacoustic Modeling with SongSpace
Acoustic localization
Other Tutorials
Audio annotations
Train a CNN
Transfer learning: training shallow classifiers on embedding models outputs
Train classifiers on BirdNET or Perch embeddings
Training with Opensoundscape & Pytorch Lightning
Customize CNN training
Preprocess audio samples
Save and load preprocessors
RIBBIT Pulse Rate model demonstration
Ruffed Grouse recognition method
Interactive Visualization
Classifiers 101
Introduction to training classifiers
Uses of automated sound classification
Organization
Creating a training dataset
CNN training
Testing a CNN
Further steps
Additional resources
API Documentation
Subpackages
Submodules
opensoundscape.annotations module
opensoundscape.audio module
opensoundscape.data_selection module
opensoundscape.logging module
opensoundscape.metrics module
opensoundscape.ribbit module
opensoundscape.sample module
opensoundscape.signal_processing module
opensoundscape.spectrogram module
opensoundscape.utils module
opensoundscape.vector_database module
opensoundscape.visualization module
opensoundscape.vector_database module
Module contents
Index
General Index
opensoundscape
Index
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
_
__getitem__() (opensoundscape.ml.safe_dataset.SafeDataset method)
__iter__() (opensoundscape.ml.safe_dataset.SafeDataset method)
_safe_get_item() (opensoundscape.ml.safe_dataset.SafeDataset method)
A
Action (class in opensoundscape.preprocess.actions)
action_from_dict() (in module opensoundscape.preprocess.actions)
adaptive_random_gain() (in module opensoundscape.preprocess.action_functions)
adaptive_random_noise() (in module opensoundscape.preprocess.action_functions)
add_classifier() (opensoundscape.ml.song_space.SongSpace method)
alexnet() (in module opensoundscape.ml.cnn_architectures)
always_true() (in module opensoundscape.preprocess.overlay)
amplitude() (opensoundscape.spectrogram.Spectrogram method)
annotate() (in module opensoundscape.visualization)
annotation_files (opensoundscape.annotations.BoxedAnnotations attribute)
apply() (opensoundscape.audio.Audio method)
apply_activation_layer() (in module opensoundscape.ml.utils)
apply_channel_gain() (opensoundscape.audio.MultiChannelAudio method)
apply_gain() (opensoundscape.audio.Audio method)
associate_pps_samples_timestamps() (in module opensoundscape.localization.audiomoth_sync)
Audio (class in opensoundscape.audio)
audio_add_noise() (in module opensoundscape.preprocess.action_functions)
audio_files (opensoundscape.annotations.BoxedAnnotations attribute)
audio_random_gain() (in module opensoundscape.preprocess.action_functions)
audio_root (opensoundscape.ml.datasets.AudioFileDataset attribute)
audio_sample_rate (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
,
[1]
audio_time_mask() (in module opensoundscape.preprocess.action_functions)
AudioAugmentationPreprocessor (class in opensoundscape.preprocess.preprocessors)
AudioClipLoader (class in opensoundscape.preprocess.actions)
AudioFileDataset (class in opensoundscape.ml.datasets)
AudioOutOfBoundsError
AudioPreprocessor (class in opensoundscape.preprocess.preprocessors)
AudioSample (class in opensoundscape.sample)
AudioToSamplesTensor (class in opensoundscape.preprocess.actions)
AudioToTensor (class in opensoundscape.preprocess.actions)
AudioTrim (class in opensoundscape.preprocess.actions)
augmented_embed() (in module opensoundscape.ml.shallow_classifier)
B
bandpass() (opensoundscape.annotations.BoxedAnnotations method)
(opensoundscape.audio.Audio method)
(opensoundscape.spectrogram.Spectrogram method)
bandpass_filter() (in module opensoundscape.audio)
BaseAction (class in opensoundscape.preprocess.actions)
BasePreprocessor (class in opensoundscape.preprocess.preprocessors)
batch_forward() (opensoundscape.ml.cnn.SpectrogramClassifier method)
BCELossWeakNegatives (class in opensoundscape.ml.loss)
BCEWithLogitsLoss_hot (class in opensoundscape.ml.loss)
binarize() (in module opensoundscape.utils)
binary_cross_entropy() (in module opensoundscape.ml.loss)
BoxedAnnotations (class in opensoundscape.annotations)
build_index() (in module opensoundscape.vector_database)
,
[1]
build_name() (in module opensoundscape.preprocess.io)
bypass_augmentations (opensoundscape.ml.datasets.AudioFileDataset attribute)
C
calc_speed_of_sound() (in module opensoundscape.localization.localization_algorithms)
calculate_pulse_score() (in module opensoundscape.ribbit)
calculate_tdoa_residuals() (in module opensoundscape.localization.spatial_event)
CAM (class in opensoundscape.ml.cam)
cas_dataloader() (in module opensoundscape.ml.utils)
cast_np_to_native() (in module opensoundscape.utils)
categorical_labels (opensoundscape.sample.AudioSample property)
categorical_to_integer_labels() (in module opensoundscape.annotations)
categorical_to_multi_hot() (in module opensoundscape.annotations)
CategoricalLabels (class in opensoundscape.annotations)
change_classes() (opensoundscape.ml.cnn.SpectrogramModule method)
change_classifier() (opensoundscape.ml.cnn.SpectrogramModule method)
change_conv2d_channels() (in module opensoundscape.ml.cnn_architectures)
change_fc_output_size() (in module opensoundscape.ml.cnn_architectures)
change_speed() (opensoundscape.audio.Audio method)
ChannelDimCheckError
check_crowsetta_installed() (in module opensoundscape.annotations)
check_files_missing_coordinates() (opensoundscape.localization.synchronized_recorder_array.SynchronizedRecorderArray method)
check_labels() (in module opensoundscape.ml.utils)
class_aware_sample_generator() (in module opensoundscape.ml.sampling)
class_counts() (opensoundscape.ml.datasets.AudioFileDataset method)
class_labels (opensoundscape.annotations.CategoricalLabels property)
ClassAwareSampler (class in opensoundscape.ml.sampling)
classes (opensoundscape.ml.datasets.AudioFileDataset attribute)
classifier (opensoundscape.ml.cnn.SpectrogramModule property)
clip_labels() (opensoundscape.annotations.BoxedAnnotations method)
clipping_detector() (in module opensoundscape.audio)
CNN (in module opensoundscape.ml.cnn)
collate_audio_samples() (in module opensoundscape.ml.dataloaders)
collate_audio_samples_to_dict() (in module opensoundscape.ml.dataloaders)
collate_audio_samples_to_tensors() (in module opensoundscape.ml.utils)
compute_per_class_metrics (opensoundscape.ml.cnn.SpectrogramModule attribute)
concat() (in module opensoundscape.audio)
(opensoundscape.annotations.BoxedAnnotations class method)
convert_labels() (opensoundscape.annotations.BoxedAnnotations method)
correct_sample_rate() (in module opensoundscape.localization.audiomoth_sync)
count_dets_hoplite() (in module opensoundscape.ml.shallow_classifier)
create_candidate_events() (opensoundscape.localization.synchronized_recorder_array.SynchronizedRecorderArray method)
create_rgb_heatmaps() (opensoundscape.ml.cam.CAM method)
CrossEntropyLoss_hot (class in opensoundscape.ml.loss)
current_step (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
CustomYamlDumper (class in opensoundscape.preprocess.io)
CustomYamlLoader (class in opensoundscape.preprocess.io)
cwt_peaks() (in module opensoundscape.signal_processing)
D
database (opensoundscape.ml.song_space.SongSpace property)
db (opensoundscape.ml.song_space.SongSpace property)
dBFS (opensoundscape.audio.Audio property)
default() (opensoundscape.preprocess.io.NumpyTypeEncoder method)
densenet121() (in module opensoundscape.ml.cnn_architectures)
deserialize_transform() (in module opensoundscape.preprocess.actions)
detect_peak_sequence_cwt() (in module opensoundscape.signal_processing)
device (opensoundscape.ml.cnn.SpectrogramClassifier property)
df (opensoundscape.annotations.BoxedAnnotations attribute)
df_to_events() (in module opensoundscape.localization.spatial_event)
df_to_positions() (in module opensoundscape.localization.position_estimate)
diff() (in module opensoundscape.annotations)
duration (opensoundscape.audio.Audio property)
(opensoundscape.audio.MultiChannelAudio property)
(opensoundscape.spectrogram.Spectrogram property)
E
early_stopping_config (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
efficientnet_b0() (in module opensoundscape.ml.cnn_architectures)
efficientnet_b1() (in module opensoundscape.ml.cnn_architectures)
efficientnet_b4() (in module opensoundscape.ml.cnn_architectures)
embed() (opensoundscape.ml.cnn.SpectrogramClassifier method)
embed_to_hoplite_db() (opensoundscape.ml.cnn.SpectrogramClassifier method)
EmbeddingDataset (class in opensoundscape.ml.datasets)
end_time (opensoundscape.sample.AudioSample property)
estimate_delay() (in module opensoundscape.audio)
estimate_location() (opensoundscape.localization.spatial_event.SpatialEvent method)
eval() (opensoundscape.ml.cnn.SpectrogramClassifier method)
evaluate() (opensoundscape.ml.song_space.SongSpace method)
events_to_df() (in module opensoundscape.localization.spatial_event)
explore_features() (in module opensoundscape.visualization)
explore_histogram() (in module opensoundscape.visualization)
extend_by() (opensoundscape.audio.Audio method)
extend_to() (opensoundscape.audio.Audio method)
(opensoundscape.audio.MultiChannelAudio method)
F
fft_size (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
filename_first_part() (in module opensoundscape.utils)
find_accel_sequences() (in module opensoundscape.signal_processing)
find_matches() (in module opensoundscape.vector_database)
,
[1]
find_matching_windows() (in module opensoundscape.vector_database)
,
[1]
find_overlapping_idxs_in_clip_df() (in module opensoundscape.annotations)
fit() (in module opensoundscape.ml.shallow_classifier)
(opensoundscape.ml.shallow_classifier.MLPClassifier method)
fit_classifier() (opensoundscape.ml.song_space.SongSpace method)
fit_classifier_on_embeddings() (in module opensoundscape.ml.shallow_classifier)
fit_on_hoplite() (in module opensoundscape.ml.shallow_classifier)
fit_with_trainer() (opensoundscape.ml.lightning.LightningSpectrogramModule method)
forward() (opensoundscape.ml.export.SequentialModelExporter method)
(opensoundscape.ml.lightning.LightningSpectrogramModule method)
(opensoundscape.ml.loss.BCELossWeakNegatives method)
(opensoundscape.ml.loss.BCEWithLogitsLoss_hot method)
(opensoundscape.ml.loss.CrossEntropyLoss_hot method)
(opensoundscape.ml.loss.ResampleLoss method)
(opensoundscape.ml.shallow_classifier.MLPClassifier method)
(opensoundscape.preprocess.actions.TorchCropFreq method)
(opensoundscape.preprocess.preprocessors.BasePreprocessor method)
freeze_feature_extractor() (opensoundscape.ml.cnn.SpectrogramModule method)
freeze_layers_except() (opensoundscape.ml.cnn.SpectrogramModule method)
freeze_params() (in module opensoundscape.ml.cnn_architectures)
freq_mask() (in module opensoundscape.preprocess.tensor_augment)
frequencies (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
,
[1]
frequency2scale() (in module opensoundscape.signal_processing)
frequency_mask() (in module opensoundscape.preprocess.action_functions)
from_audio() (opensoundscape.spectrogram.MelSpectrogram class method)
(opensoundscape.spectrogram.Spectrogram class method)
from_audio_list() (opensoundscape.audio.MultiChannelAudio class method)
from_bytesio() (opensoundscape.audio.Audio class method)
from_categorical_df() (opensoundscape.ml.datasets.AudioFileDataset class method)
from_categorical_labels_df() (opensoundscape.annotations.CategoricalLabels class method)
from_crowsetta() (opensoundscape.annotations.BoxedAnnotations class method)
from_crowsetta_bbox() (opensoundscape.annotations.BoxedAnnotations class method)
from_crowsetta_seq() (opensoundscape.annotations.BoxedAnnotations class method)
from_csv() (opensoundscape.annotations.BoxedAnnotations class method)
from_dict() (opensoundscape.localization.position_estimate.PositionEstimate class method)
(opensoundscape.localization.spatial_event.SpatialEvent class method)
(opensoundscape.preprocess.actions.Action class method)
(opensoundscape.preprocess.actions.BaseAction class method)
(opensoundscape.preprocess.actions.TorchTransforms class method)
(opensoundscape.preprocess.overlay.Overlay class method)
(opensoundscape.preprocess.preprocessors.BasePreprocessor class method)
from_file() (opensoundscape.audio.Audio class method)
(opensoundscape.audio.MultiChannelAudio class method)
from_json() (opensoundscape.preprocess.preprocessors.BasePreprocessor class method)
from_multihot_df() (opensoundscape.annotations.CategoricalLabels class method)
from_raven_files() (opensoundscape.annotations.BoxedAnnotations class method)
from_series() (opensoundscape.sample.AudioSample class method)
from_torch_linear() (opensoundscape.ml.shallow_classifier.MLPClassifier class method)
from_url() (opensoundscape.audio.Audio class method)
from_yaml() (opensoundscape.preprocess.preprocessors.BasePreprocessor class method)
G
gcc() (in module opensoundscape.signal_processing)
generate_cams() (opensoundscape.ml.cnn.SpectrogramClassifier method)
generate_clip_times_df() (in module opensoundscape.utils)
generate_opacity_colormaps() (in module opensoundscape.utils)
generate_opso_metadata_str() (in module opensoundscape.audio)
generate_samples() (opensoundscape.ml.cnn.SpectrogramClassifier method)
generic_make_arch() (in module opensoundscape.ml.cnn_architectures)
get() (opensoundscape.preprocess.actions.BaseAction method)
get_args() (in module opensoundscape.preprocess.utils)
get_batch() (in module opensoundscape.ml.utils)
get_channel_dim() (in module opensoundscape.ml.cnn)
get_dataset() (opensoundscape.ml.song_space.SongSpace method)
get_dataset_embeddings() (opensoundscape.ml.song_space.SongSpace method)
get_embeddings_from_hoplite() (in module opensoundscape.ml.shallow_classifier)
get_existing_windows() (in module opensoundscape.vector_database)
,
[1]
get_reqd_args() (in module opensoundscape.preprocess.utils)
get_sampler() (in module opensoundscape.ml.sampling)
get_selected_row_ids() (in module opensoundscape.visualization)
GetDurationError
GetStartTimestamp (class in opensoundscape.localization.synchronized_recorder_array)
gillette_localize() (in module opensoundscape.localization.localization_algorithms)
global_multi_hot_labels() (opensoundscape.annotations.BoxedAnnotations method)
H
head() (opensoundscape.ml.datasets.AudioFileDataset method)
highpass() (opensoundscape.audio.Audio method)
highpass_filter() (in module opensoundscape.audio)
hop_samples (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
HopliteDataset (class in opensoundscape.ml.datasets)
I
identity() (in module opensoundscape.utils)
image_to_tensor() (in module opensoundscape.preprocess.action_functions)
ImbalancedDatasetSampler (class in opensoundscape.ml.sampling)
ingest_audio() (opensoundscape.ml.song_space.SongSpace method)
inrange() (in module opensoundscape.utils)
insert_action() (opensoundscape.preprocess.preprocessors.BasePreprocessor method)
inspect() (in module opensoundscape.visualization)
integer_to_categorical_labels() (in module opensoundscape.annotations)
integer_to_multi_hot() (in module opensoundscape.annotations)
invalid_samples (opensoundscape.ml.datasets.AudioFileDataset attribute)
InvalidIndexError
isNan() (in module opensoundscape.utils)
J
jitter() (in module opensoundscape.utils)
L
label_df (opensoundscape.ml.datasets.AudioFileDataset attribute)
(opensoundscape.ml.datasets.HopliteDataset property)
labels (opensoundscape.annotations.CategoricalLabels property)
labels_at_index() (opensoundscape.annotations.CategoricalLabels method)
labels_on_index() (opensoundscape.annotations.BoxedAnnotations method)
least_squares_localize() (in module opensoundscape.localization.localization_algorithms)
LightningSpectrogramModule (class in opensoundscape.ml.lightning)
limit_range() (opensoundscape.spectrogram.Spectrogram method)
linear_scale() (in module opensoundscape.utils)
(opensoundscape.spectrogram.Spectrogram method)
list_action_fns() (in module opensoundscape.preprocess.action_functions)
list_actions() (in module opensoundscape.preprocess.actions)
list_architectures() (in module opensoundscape.ml.cnn_architectures)
list_classifiers() (opensoundscape.ml.song_space.SongSpace method)
list_datasets() (opensoundscape.ml.song_space.SongSpace method)
list_model_classes() (in module opensoundscape.ml.cnn)
load() (in module opensoundscape.preprocess.preprocessors)
(opensoundscape.ml.cnn.SpectrogramClassifier class method)
(opensoundscape.ml.shallow_classifier.MLPClassifier class method)
load_aligned_audio_segments() (opensoundscape.localization.position_estimate.PositionEstimate method)
load_channels_as_audio() (in module opensoundscape.audio)
load_json() (in module opensoundscape.preprocess.preprocessors)
load_model() (in module opensoundscape.ml.cnn)
load_or_create_hoplite_usearch_db() (in module opensoundscape.vector_database)
,
[1]
load_weights() (opensoundscape.ml.cnn.SpectrogramClassifier method)
(opensoundscape.ml.lightning.LightningSpectrogramModule method)
load_yaml() (in module opensoundscape.preprocess.preprocessors)
localize() (in module opensoundscape.localization.localization_algorithms)
localize_detections() (opensoundscape.localization.synchronized_recorder_array.SynchronizedRecorderArray method)
,
[1]
localize_events_parallel() (in module opensoundscape.localization.spatial_event)
log_file (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
logging_level (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
logit_reg_functions() (opensoundscape.ml.loss.ResampleLoss method)
loop() (opensoundscape.audio.Audio method)
lorentz_ip() (in module opensoundscape.localization.localization_algorithms)
loss_hist (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
lowpass() (opensoundscape.audio.Audio method)
lowpass_filter() (in module opensoundscape.audio)
lr_scheduler_step (opensoundscape.ml.cnn.SpectrogramModule attribute)
M
magnitude (opensoundscape.spectrogram.Spectrogram property)
make_clip_df() (in module opensoundscape.utils)
make_nearby_files_dict() (opensoundscape.localization.synchronized_recorder_array.SynchronizedRecorderArray method)
MelScale (class in opensoundscape.preprocess.actions)
MelSpectrogram (class in opensoundscape.spectrogram)
metadata (opensoundscape.audio.Audio attribute)
(opensoundscape.audio.MultiChannelAudio attribute)
metrics() (opensoundscape.ml.song_space.SongSpace method)
min_max_scale() (in module opensoundscape.utils)
(opensoundscape.spectrogram.Spectrogram method)
mix() (in module opensoundscape.audio)
MLPClassifier (class in opensoundscape.ml.shallow_classifier)
module
opensoundscape
opensoundscape.annotations
opensoundscape.audio
opensoundscape.data_selection
opensoundscape.localization
opensoundscape.localization.audiomoth_sync
opensoundscape.localization.localization_algorithms
opensoundscape.localization.position_estimate
opensoundscape.localization.spatial_event
opensoundscape.localization.synchronized_recorder_array
opensoundscape.localization.utils
opensoundscape.logging
opensoundscape.metrics
opensoundscape.ml
opensoundscape.ml.cam
opensoundscape.ml.cnn
opensoundscape.ml.cnn_architectures
opensoundscape.ml.dataloaders
opensoundscape.ml.datasets
opensoundscape.ml.export
opensoundscape.ml.lightning
opensoundscape.ml.loss
opensoundscape.ml.safe_dataset
opensoundscape.ml.sampling
opensoundscape.ml.shallow_classifier
opensoundscape.ml.song_space
opensoundscape.ml.utils
opensoundscape.preprocess
opensoundscape.preprocess.action_functions
opensoundscape.preprocess.actions
opensoundscape.preprocess.img_augment
opensoundscape.preprocess.io
opensoundscape.preprocess.overlay
opensoundscape.preprocess.preprocessors
opensoundscape.preprocess.tensor_augment
opensoundscape.preprocess.utils
opensoundscape.ribbit
opensoundscape.sample
opensoundscape.signal_processing
opensoundscape.spectrogram
opensoundscape.utils
opensoundscape.vector_database
,
[1]
opensoundscape.visualization
multi_hot_to_categorical() (in module opensoundscape.annotations)
multi_hot_to_integer_labels() (in module opensoundscape.annotations)
multi_target_metrics() (in module opensoundscape.metrics)
MultiChannelAudio (class in opensoundscape.audio)
multihot_array() (opensoundscape.annotations.CategoricalLabels method)
multihot_dense (opensoundscape.annotations.CategoricalLabels property)
multihot_df() (opensoundscape.annotations.CategoricalLabels method)
multihot_df_dense (opensoundscape.annotations.CategoricalLabels property)
multihot_df_sparse (opensoundscape.annotations.CategoricalLabels property)
multihot_labels_at_index() (opensoundscape.annotations.CategoricalLabels method)
multihot_sparse (opensoundscape.annotations.CategoricalLabels property)
N
n_channels (opensoundscape.audio.MultiChannelAudio property)
name (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
net_amplitude() (opensoundscape.spectrogram.Spectrogram method)
network (opensoundscape.ml.cnn.SpectrogramModule attribute)
noise() (opensoundscape.audio.Audio class method)
(opensoundscape.audio.MultiChannelAudio class method)
NoiseReduceAudioPreprocessor (class in opensoundscape.preprocess.preprocessors)
NoiseReduceSpectrogramPreprocessor (class in opensoundscape.preprocess.preprocessors)
NoMatchingWindowIDsError
normalize() (opensoundscape.audio.Audio method)
normalize_index_to_tuples() (in module opensoundscape.vector_database)
,
[1]
normalize_q() (in module opensoundscape.ml.cam)
normalize_windows_to_tuples() (in module opensoundscape.vector_database)
,
[1]
numpy_dtype_constructor() (in module opensoundscape.preprocess.io)
numpy_dtype_representer() (in module opensoundscape.preprocess.io)
numpy_to_dB() (in module opensoundscape.spectrogram)
NumpyTypeDecoder (class in opensoundscape.preprocess.io)
NumpyTypeEncoder (class in opensoundscape.preprocess.io)
O
object_hook() (opensoundscape.preprocess.io.NumpyTypeDecoder method)
open() (opensoundscape.ml.song_space.SongSpace class method)
opensoundscape
module
opensoundscape.annotations
module
opensoundscape.audio
module
opensoundscape.data_selection
module
opensoundscape.localization
module
opensoundscape.localization.audiomoth_sync
module
opensoundscape.localization.localization_algorithms
module
opensoundscape.localization.position_estimate
module
opensoundscape.localization.spatial_event
module
opensoundscape.localization.synchronized_recorder_array
module
opensoundscape.localization.utils
module
opensoundscape.logging
module
opensoundscape.metrics
module
opensoundscape.ml
module
opensoundscape.ml.cam
module
opensoundscape.ml.cnn
module
opensoundscape.ml.cnn_architectures
module
opensoundscape.ml.dataloaders
module
opensoundscape.ml.datasets
module
opensoundscape.ml.export
module
opensoundscape.ml.lightning
module
opensoundscape.ml.loss
module
opensoundscape.ml.safe_dataset
module
opensoundscape.ml.sampling
module
opensoundscape.ml.shallow_classifier
module
opensoundscape.ml.song_space
module
opensoundscape.ml.utils
module
opensoundscape.preprocess
module
opensoundscape.preprocess.action_functions
module
opensoundscape.preprocess.actions
module
opensoundscape.preprocess.img_augment
module
opensoundscape.preprocess.io
module
opensoundscape.preprocess.overlay
module
opensoundscape.preprocess.preprocessors
module
opensoundscape.preprocess.tensor_augment
module
opensoundscape.preprocess.utils
module
opensoundscape.ribbit
module
opensoundscape.sample
module
opensoundscape.signal_processing
module
opensoundscape.spectrogram
module
opensoundscape.utils
module
opensoundscape.vector_database
module
,
[1]
opensoundscape.visualization
module
OpsoLoadAudioInputError
overlap() (in module opensoundscape.utils)
overlap_fraction() (in module opensoundscape.utils)
overlap_samples (opensoundscape.spectrogram.Spectrogram attribute)
Overlay (class in opensoundscape.preprocess.overlay)
overlay() (in module opensoundscape.preprocess.overlay)
P
pad() (opensoundscape.audio.Audio method)
pad_to() (opensoundscape.audio.Audio method)
parent_folder_name() (in module opensoundscape.utils)
parse_metadata() (in module opensoundscape.audio)
parse_opso_metadata() (in module opensoundscape.audio)
parse_RMC_time_to_datetime() (in module opensoundscape.localization.audiomoth_sync)
parse_RMC_time_to_seconds() (in module opensoundscape.localization.audiomoth_sync)
pcen() (in module opensoundscape.preprocess.action_functions)
(opensoundscape.spectrogram.Spectrogram method)
PCENPreprocessor (class in opensoundscape.preprocess.preprocessors)
per_class_metrics() (opensoundscape.ml.cnn.SpectrogramClassifier method)
plot() (opensoundscape.ml.cam.CAM method)
(opensoundscape.spectrogram.MelSpectrogram method)
(opensoundscape.spectrogram.Spectrogram method)
plot_spectrograms() (in module opensoundscape.spectrogram)
plot_spectrograms_from_audio() (in module opensoundscape.spectrogram)
PositionEstimate (class in opensoundscape.localization.position_estimate)
positions_to_df() (in module opensoundscape.localization.position_estimate)
power_spectrogram (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
,
[1]
predict() (opensoundscape.ml.cnn.SpectrogramClassifier method)
predict_multi_target_labels() (in module opensoundscape.metrics)
predict_on_dataset() (opensoundscape.ml.song_space.SongSpace method)
predict_on_hoplite() (in module opensoundscape.ml.shallow_classifier)
predict_single_target_labels() (in module opensoundscape.metrics)
predict_with_trainer() (opensoundscape.ml.lightning.LightningSpectrogramModule method)
PreprocessingError
preprocessor (opensoundscape.ml.dataloaders.SafeAudioDataloader attribute)
(opensoundscape.ml.datasets.AudioFileDataset attribute)
preprocessor_from_dict() (in module opensoundscape.preprocess.preprocessors)
process_tensor_for_display() (in module opensoundscape.preprocess.utils)
profile() (opensoundscape.ml.cnn.SpectrogramClassifier method)
R
random_lowpass() (in module opensoundscape.preprocess.action_functions)
random_wrap_audio() (in module opensoundscape.preprocess.action_functions)
RandomCycleIter (class in opensoundscape.ml.sampling)
rebalance_weight() (opensoundscape.ml.loss.ResampleLoss method)
reduce_loss() (in module opensoundscape.ml.loss)
reduce_noise() (opensoundscape.audio.Audio method)
register_action_cls() (in module opensoundscape.preprocess.actions)
register_action_fn() (in module opensoundscape.preprocess.action_functions)
register_all_methods() (in module opensoundscape.preprocess.actions)
register_arch() (in module opensoundscape.ml.cnn_architectures)
register_model_cls() (in module opensoundscape.ml.cnn)
register_preprocessor_cls() (in module opensoundscape.preprocess.preprocessors)
remove_action() (opensoundscape.preprocess.preprocessors.BasePreprocessor method)
remove_classifier() (opensoundscape.ml.song_space.SongSpace method)
remove_dataset() (opensoundscape.ml.song_space.SongSpace method)
remove_duplicate_windows() (in module opensoundscape.vector_database)
,
[1]
replace_nones() (in module opensoundscape.preprocess.preprocessors)
report() (opensoundscape.ml.safe_dataset.SafeDataset method)
resample() (in module opensoundscape.data_selection)
(opensoundscape.audio.Audio method)
resample_type (opensoundscape.audio.Audio attribute)
(opensoundscape.audio.MultiChannelAudio attribute)
ResampleLoss (class in opensoundscape.ml.loss)
rescale_features() (in module opensoundscape.utils)
residual_rms (opensoundscape.localization.position_estimate.PositionEstimate property)
resnet101() (in module opensoundscape.ml.cnn_architectures)
resnet152() (in module opensoundscape.ml.cnn_architectures)
resnet18() (in module opensoundscape.ml.cnn_architectures)
resnet34() (in module opensoundscape.ml.cnn_architectures)
resnet50() (in module opensoundscape.ml.cnn_architectures)
reweight_functions() (opensoundscape.ml.loss.ResampleLoss method)
ribbit() (in module opensoundscape.ribbit)
rms (opensoundscape.audio.Audio property)
(opensoundscape.spectrogram.Spectrogram property)
run_evaluation() (opensoundscape.ml.cnn.SpectrogramClassifier method)
S
SafeAudioDataloader (class in opensoundscape.ml.dataloaders)
SafeDataset (class in opensoundscape.ml.safe_dataset)
Sample (class in opensoundscape.sample)
sample() (opensoundscape.ml.datasets.AudioFileDataset method)
sample_duration (opensoundscape.ml.cnn.SpectrogramClassifier property)
sample_rate (opensoundscape.audio.Audio attribute)
(opensoundscape.audio.MultiChannelAudio attribute)
(opensoundscape.ml.cnn.SpectrogramClassifier property)
samples (opensoundscape.audio.Audio attribute)
(opensoundscape.audio.MultiChannelAudio attribute)
(opensoundscape.ml.dataloaders.SafeAudioDataloader attribute)
save() (opensoundscape.audio.Audio method)
(opensoundscape.audio.MultiChannelAudio method)
(opensoundscape.ml.cnn.SpectrogramClassifier method)
(opensoundscape.ml.lightning.LightningSpectrogramModule method)
(opensoundscape.ml.shallow_classifier.MLPClassifier method)
(opensoundscape.ml.song_space.SongSpace method)
(opensoundscape.preprocess.preprocessors.BasePreprocessor method)
save_json() (opensoundscape.preprocess.preprocessors.BasePreprocessor method)
save_onnx() (opensoundscape.ml.cnn.SpectrogramClassifier method)
save_weights() (opensoundscape.ml.cnn.SpectrogramClassifier method)
(opensoundscape.ml.lightning.LightningSpectrogramModule method)
save_yaml() (opensoundscape.preprocess.preprocessors.BasePreprocessor method)
scale_tensor() (in module opensoundscape.preprocess.action_functions)
second_parent_name() (in module opensoundscape.utils)
select() (opensoundscape.ml.song_space.SongSpace method)
select_from_hoplite() (in module opensoundscape.ml.shallow_classifier)
SequentialModelExporter (class in opensoundscape.ml.export)
serialize_transform() (in module opensoundscape.preprocess.actions)
set() (opensoundscape.preprocess.actions.BaseAction method)
set_layer_from_name() (in module opensoundscape.ml.cnn_architectures)
set_seed() (in module opensoundscape.utils)
shape (opensoundscape.spectrogram.Spectrogram property)
show_tensor() (in module opensoundscape.preprocess.utils)
show_tensor_grid() (in module opensoundscape.preprocess.utils)
show_widget() (opensoundscape.audio.Audio method)
sigmoid() (in module opensoundscape.utils)
silence() (opensoundscape.audio.Audio class method)
(opensoundscape.audio.MultiChannelAudio class method)
similarity_search() (opensoundscape.ml.song_space.SongSpace method)
similarity_search_hoplite_db() (in module opensoundscape.vector_database)
,
[1]
(opensoundscape.ml.cnn.SpectrogramClassifier method)
single_target (opensoundscape.ml.cnn.SpectrogramModule property)
single_target_metrics() (in module opensoundscape.metrics)
SongSpace (class in opensoundscape.ml.song_space)
soundfinder_localize() (in module opensoundscape.localization.localization_algorithms)
SpatialEvent (class in opensoundscape.localization.spatial_event)
Spectrogram (class in opensoundscape.spectrogram)
spectrogram (opensoundscape.spectrogram.Spectrogram property)
SpectrogramClassifier (class in opensoundscape.ml.cnn)
SpectrogramModule (class in opensoundscape.ml.cnn)
SpectrogramPreprocessor (class in opensoundscape.preprocess.preprocessors)
SpectrogramToTensor (class in opensoundscape.preprocess.actions)
spectrum() (opensoundscape.audio.Audio method)
(opensoundscape.audio.MultiChannelAudio method)
split() (opensoundscape.audio.Audio method)
split_and_save() (opensoundscape.audio.Audio method)
(opensoundscape.audio.MultiChannelAudio method)
squeezenet1_0() (in module opensoundscape.ml.cnn_architectures)
stratified_selection() (opensoundscape.ml.song_space.SongSpace method)
subset() (opensoundscape.annotations.BoxedAnnotations method)
SynchronizedRecorderArray (class in opensoundscape.localization.synchronized_recorder_array)
T
tdoa() (in module opensoundscape.signal_processing)
tensor_add_noise() (in module opensoundscape.preprocess.action_functions)
thresholded_event_durations() (in module opensoundscape.signal_processing)
time_mask() (in module opensoundscape.preprocess.action_functions)
(in module opensoundscape.preprocess.tensor_augment)
time_split() (in module opensoundscape.preprocess.img_augment)
times (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
,
[1]
to_channels() (opensoundscape.audio.MultiChannelAudio method)
to_crowsetta() (opensoundscape.annotations.BoxedAnnotations method)
to_csv() (opensoundscape.annotations.BoxedAnnotations method)
to_dict() (opensoundscape.localization.position_estimate.PositionEstimate method)
(opensoundscape.localization.spatial_event.SpatialEvent method)
(opensoundscape.preprocess.actions.Action method)
(opensoundscape.preprocess.actions.BaseAction method)
(opensoundscape.preprocess.actions.TorchTransforms method)
(opensoundscape.preprocess.overlay.Overlay method)
(opensoundscape.preprocess.preprocessors.BasePreprocessor method)
to_image() (opensoundscape.spectrogram.Spectrogram method)
to_mono() (opensoundscape.audio.MultiChannelAudio method)
to_onnx_program() (in module opensoundscape.ml.export)
to_raven_files() (opensoundscape.annotations.BoxedAnnotations method)
torch_color_jitter() (in module opensoundscape.preprocess.action_functions)
torch_random_affine() (in module opensoundscape.preprocess.action_functions)
torch_to_dB() (in module opensoundscape.spectrogram)
TorchCropFreq (class in opensoundscape.preprocess.actions)
TorchSpectrogramPreprocessor (class in opensoundscape.preprocess.preprocessors)
TorchTransforms (class in opensoundscape.preprocess.actions)
train() (opensoundscape.ml.cnn.SpectrogramClassifier method)
(opensoundscape.ml.lightning.LightningSpectrogramModule method)
train_test_split() (in module opensoundscape.data_selection)
(opensoundscape.annotations.BoxedAnnotations method)
transforms (opensoundscape.preprocess.actions.TorchTransforms property)
transpose_samples_decorator() (in module opensoundscape.audio)
travel_time() (in module opensoundscape.localization.localization_algorithms)
trim() (opensoundscape.annotations.BoxedAnnotations method)
(opensoundscape.audio.Audio method)
(opensoundscape.spectrogram.Spectrogram method)
trim_audio() (in module opensoundscape.preprocess.actions)
trim_samples() (opensoundscape.audio.Audio method)
(opensoundscape.audio.MultiChannelAudio method)
trim_with_timestamps() (opensoundscape.audio.Audio method)
two_parents_name() (in module opensoundscape.utils)
U
unfreeze() (opensoundscape.ml.cnn.SpectrogramModule method)
unfreeze_params() (in module opensoundscape.ml.cnn_architectures)
unique() (in module opensoundscape.annotations)
unique_labels() (opensoundscape.annotations.BoxedAnnotations method)
update_dataset_audio_root() (opensoundscape.ml.song_space.SongSpace method)
upsample() (in module opensoundscape.data_selection)
use_resample_loss() (in module opensoundscape.ml.cnn)
V
verbose (opensoundscape.ml.cnn.SpectrogramClassifier attribute)
vgg11_bn() (in module opensoundscape.ml.cnn_architectures)
W
wandb_table() (in module opensoundscape.logging)
weight_reduce_loss() (in module opensoundscape.ml.loss)
window_hop_seconds (opensoundscape.spectrogram.Spectrogram property)
window_length_seconds (opensoundscape.spectrogram.Spectrogram property)
window_samples (opensoundscape.spectrogram.MelSpectrogram attribute)
(opensoundscape.spectrogram.Spectrogram attribute)
,
[1]
window_type (opensoundscape.spectrogram.Spectrogram attribute)
windows_to_dataframe() (in module opensoundscape.vector_database)
,
[1]
write_metadata() (in module opensoundscape.audio)