diff --git a/src/objects/BaseObject.ts b/src/objects/BaseObject.ts index 68d5a76..92879f2 100644 --- a/src/objects/BaseObject.ts +++ b/src/objects/BaseObject.ts @@ -6,19 +6,24 @@ * @file The BaseObject class is used for creating core properties and methods applicable * to ground and space based objects. * - * @license AGPL-3.0-or-later - * @Copyright (c) 2020-2023 Theodore Kruczek + * @license MIT License * - * Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the - * terms of the GNU Affero General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later version. + * @Copyright (c) 2024 Theodore Kruczek + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, subject to the following conditions: * - * Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Affero General Public License for more details. + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. * - * You should have received a copy of the GNU Affero General Public License along with - * Orbital Object ToolKit. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. */ import { BaseObjectParams, EciVec3, Kilometers, SpaceObjectType } from '../types/types'; diff --git a/src/objects/Star.ts b/src/objects/Star.ts index 1a14a52..f7aeee0 100644 --- a/src/objects/Star.ts +++ b/src/objects/Star.ts @@ -6,19 +6,24 @@ * @file The Star class is meant to help with cacluating star positions relative to * satellites and earth based sensors. * - * @license AGPL-3.0-or-later - * @Copyright (c) 2020-2023 Theodore Kruczek + * @license MIT License * - * Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the - * terms of the GNU Affero General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later version. + * @Copyright (c) 2024 Theodore Kruczek + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, subject to the following conditions: * - * Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Affero General Public License for more details. + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. * - * You should have received a copy of the GNU Affero General Public License along with - * Orbital Object ToolKit. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. */ import { diff --git a/src/sgp4/sgp4.ts b/src/sgp4/sgp4.ts index 3675813..2cfa309 100644 --- a/src/sgp4/sgp4.ts +++ b/src/sgp4/sgp4.ts @@ -9,19 +9,24 @@ * in order provide context to the functions and clarify any adjustments made for * TypeScript/JavaScript compatibility. * - * @license AGPL-3.0-or-later - * @Copyright (c) 2020-2023 Theodore Kruczek + * @license MIT License * - * Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the - * terms of the GNU Affero General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later version. + * @Copyright (c) 2024 Theodore Kruczek + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, subject to the following conditions: * - * Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Affero General Public License for more details. + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. * - * You should have received a copy of the GNU Affero General Public License along with - * Orbital Object ToolKit. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. */ // NOTE: This file is meant to maintain as much of the original format as possible. diff --git a/src/tle/tle.ts b/src/tle/tle.ts index f0a3bd3..3dcf539 100644 --- a/src/tle/tle.ts +++ b/src/tle/tle.ts @@ -5,19 +5,24 @@ * * @file The TLE module contains a collection of functions for working with TLEs. * - * @license AGPL-3.0-or-later - * @Copyright (c) 2020-2023 Theodore Kruczek + * @license MIT License * - * Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the - * terms of the GNU Affero General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later version. + * @Copyright (c) 2024 Theodore Kruczek + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, subject to the following conditions: * - * Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Affero General Public License for more details. + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. * - * You should have received a copy of the GNU Affero General Public License along with - * Orbital Object ToolKit. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. */ import { Line1Data, Line2Data, TleLine1, TleLine2 } from '../types/types'; diff --git a/src/transforms/transforms.ts b/src/transforms/transforms.ts index 9d7fd29..96ff68c 100644 --- a/src/transforms/transforms.ts +++ b/src/transforms/transforms.ts @@ -8,19 +8,24 @@ * in the original SGP4 library such as ECI to ECF and ECF to RAE. This was based * on some of the functions in satellite.js. * - * @license AGPL-3.0-or-later - * @Copyright (c) 2020-2023 Theodore Kruczek + * @license MIT License * - * Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the - * terms of the GNU Affero General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later version. + * @Copyright (c) 2024 Theodore Kruczek + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, subject to the following conditions: * - * Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Affero General Public License for more details. + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. * - * You should have received a copy of the GNU Affero General Public License along with - * Orbital Object ToolKit. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. */ import { Earth, Sensor, Sgp4, Utils } from '../ootk-core'; diff --git a/src/utils/moon-math.ts b/src/utils/moon-math.ts index 053dfde..34f8e29 100644 --- a/src/utils/moon-math.ts +++ b/src/utils/moon-math.ts @@ -8,10 +8,6 @@ * update was referenced for documentation. There were a couple of bugs in both versions * so there will be some differences if you are migrating from either to this library. * - * - * @license AGPL-3.0-or-later - * @Copyright (c) 2020-2023 Theodore Kruczek - * * @Copyright (c) 2011-2015, Vladimir Agafonkin * SunCalc is a JavaScript library for calculating sun/moon position and light phases. * https://github.com/mourner/suncalc @@ -22,16 +18,24 @@ * * moon calculations, based on http://aa.quae.nl/en/reken/hemelpositie.html formulas * - * Orbital Object ToolKit is free software: you can redistribute it and/or modify it under the - * terms of the GNU Affero General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later version. + * @license MIT License + * + * @Copyright (c) 2024 Theodore Kruczek + * Permission is hereby granted, free of charge, to any person obtaining a copy of this + * software and associated documentation files (the "Software"), to deal in the Software + * without restriction, including without limitation the rights to use, copy, modify, merge, + * publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, subject to the following conditions: * - * Orbital Object ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Affero General Public License for more details. + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. * - * You should have received a copy of the GNU Affero General Public License along with - * Orbital Object ToolKit. If not, see . + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE + * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. */ import { Celestial } from '../body/Celestial';