1- #!/usr/bin/env python
1+ #!/usr/bin/env python3
22"""
3- Copyright 2010-2017 University Of Southern California
4-
5- Licensed under the Apache License, Version 2.0 (the "License");
6- you may not use this file except in compliance with the License.
7- You may obtain a copy of the License at
8-
9- http://www.apache.org/licenses/LICENSE-2.0
10-
11- Unless required by applicable law or agreed to in writing, software
12- distributed under the License is distributed on an "AS IS" BASIS,
13- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14- See the License for the specific language governing permissions and
15- limitations under the License.
3+ BSD 3-Clause License
4+
5+ Copyright (c) 2023, University of Southern California
6+ All rights reserved.
7+
8+ Redistribution and use in source and binary forms, with or without
9+ modification, are permitted provided that the following conditions are met:
10+
11+ 1. Redistributions of source code must retain the above copyright notice, this
12+ list of conditions and the following disclaimer.
13+
14+ 2. Redistributions in binary form must reproduce the above copyright notice,
15+ this list of conditions and the following disclaimer in the documentation
16+ and/or other materials provided with the distribution.
17+
18+ 3. Neither the name of the copyright holder nor the names of its
19+ contributors may be used to endorse or promote products derived from
20+ this software without specific prior written permission.
21+
22+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
26+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1632"""
1733from __future__ import division , print_function
1834
@@ -30,6 +46,7 @@ class RotDVel(object):
3046 """
3147 BBP module implementation of rotd50 for velocity provided by UCB.
3248 Rotd50 inputs seismograms and outputs response spectra
49+ Largely copied from RotD50 with minor modifications by Kevin Milner for velocity.
3350 """
3451 @staticmethod
3552 def do_rotd_vel (workdir , peer_input_e_file , peer_input_n_file ,
0 commit comments