logo资料库

Think DSP_ Digital Signal Processing in Python.pdf

第1页 / 共97页
第2页 / 共97页
第3页 / 共97页
第4页 / 共97页
第5页 / 共97页
第6页 / 共97页
第7页 / 共97页
第8页 / 共97页
资料共97页,剩余部分请下载后查看
Cover
Copyright
Table of Contents
Copyright
Table of Contents
About the Author
Preface
Who is this book for?
Using the code
Contributor List
Chapter 1. Sounds and signals
Periodic signals
Spectral decomposition
Signals
Reading and writing Waves
Spectrums
Wave objects
Signal objects
Exercises
Chapter 2. Harmonics
Triangle waves
Square waves
Aliasing
Computing the spectrum
Exercises
Chapter 3. Non-periodic signals
Linear chirp
Exponential chirp
Spectrum of a chirp
Spectrogram
The Gabor limit
Leakage
Windowing
Implementing spectrograms
Exercises
Chapter 4. Noise
Uncorrelated noise
Integrated spectrum
Brownian noise
Pink Noise
Gaussian noise
Exercises
Chapter 5. Autocorrelation
Correlation
Serial correlation
Autocorrelation
Autocorrelation of periodic signals
Correlation as dot product
Using NumPy
Exercises
Chapter 6. Discrete cosine transform
Chapter 7. Discrete Fourier Transform
Chapter 8. Filtering and Convolution
Chapter 9. Signals and systems
Chapter 10. Modulation and sampling
Index
www.it-ebooks.info
Think DSP by Allen B. Downey Copyright © 2016 O’Reilly Media. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles ( http://safaribooksonline.com ). For more information, contact our corporate/ institutional sales department: 800-998-9938 or corporate@oreilly.com . Editors: Nan Barber and Susan Conant Production Editor: FILL IN PRODUCTION EDI‐ TOR Copyeditor: FILL IN COPYEDITOR Proofreader: FILL IN PROOFREADER Indexer: FILL IN INDEXER Interior Designer: David Futato Cover Designer: Karen Montgomery Illustrator: Rebecca Demarest January -4712: First Edition Revision History for the First Edition 2016-03-01: First Early Release See http://oreilly.com/catalog/errata.csp?isbn=9781491938485 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Think DSP, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. While the publisher and the author(s) have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author(s) disclaim all responsibil‐ ity for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights. 978-1-491-93848-5 [FILL IN] www.it-ebooks.info
www.it-ebooks.info
Table of Contents Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi 1. Sounds and signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Periodic signals 16 Spectral decomposition 18 Signals 19 Reading and writing Waves 21 Spectrums 22 Wave objects 23 Signal objects 23 Exercises 25 2. Harmonics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Triangle waves 27 Square waves 30 Aliasing 32 Computing the spectrum 35 Exercises 36 3. Non-periodic signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Linear chirp 40 Exponential chirp 42 Spectrum of a chirp 43 Spectrogram 44 The Gabor limit 45 Leakage 46 Windowing 48 Implementing spectrograms 50 www.it-ebooks.info iii
Exercises 51 4. Noise. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Uncorrelated noise 56 Integrated spectrum 58 Brownian noise 60 Pink Noise 64 Gaussian noise 67 Exercises 68 5. Autocorrelation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Correlation 71 Serial correlation 74 Autocorrelation 75 Autocorrelation of periodic signals 77 Correlation as dot product 81 Using NumPy 82 Exercises 83 6. Discrete cosine transform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 7. Discrete Fourier Transform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 8. Filtering and Convolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 9. Signals and systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 10. Modulation and sampling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 iv | Table of Contents www.it-ebooks.info
TH EDITION Think DSP Allen B. Downey www.it-ebooks.info Boston
Think DSP by Allen B. Downey www.it-ebooks.info
分享到:
收藏