Skip to content

Commit

Permalink
Document derivation of katdal code and include katdal LICENSE in the …
Browse files Browse the repository at this point in the history
…appropriate locatoins
  • Loading branch information
sjperkins committed Mar 28, 2024
1 parent b7a1006 commit c8e4b48
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
21 changes: 21 additions & 0 deletions daskms/experimental/katdal/corr_products.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# Creation of the correlation product index is derived from
# https://github.com/ska-sa/katdal/blob/v0.22/scripts/mvftoms.py
# under the following license
#
# ################################################################################
# Copyright (c) 2011-2023, National Research Foundation (SARAO)
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################


from collections import namedtuple

import numpy as np
Expand Down
20 changes: 20 additions & 0 deletions daskms/experimental/katdal/msv2_facade.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# Much of the subtable generation code is derived from
# https://github.com/ska-sa/katdal/blob/v0.22/katdal/ms_extra.py
# under the following license
#
# ################################################################################
# Copyright (c) 2011-2023, National Research Foundation (SARAO)
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################

from functools import partial

import dask.array as da
Expand Down
21 changes: 21 additions & 0 deletions daskms/experimental/katdal/transpose.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# The numba transposition code is derived from
# https://github.com/ska-sa/katdal/blob/v0.22/scripts/mvftoms.py
# under the following license
#
# ################################################################################
# Copyright (c) 2011-2023, National Research Foundation (SARAO)
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################


import dask.array as da
import numpy as np

Expand Down
21 changes: 21 additions & 0 deletions daskms/experimental/katdal/uvw.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# The uvw calculation code is derived from
# https://github.com/ska-sa/katdal/blob/v0.22/katdal/ms_async.py
# under the following license
#
# ################################################################################
# Copyright (c) 2011-2023, National Research Foundation (SARAO)
#
# Licensed under the BSD 3-Clause License (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################


import dask.array as da
from katpoint import Target
import numpy as np
Expand Down

0 comments on commit c8e4b48

Please sign in to comment.