Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mitkotak authored Mar 22, 2024
1 parent 5fac3fb commit 2213e6d
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 106 deletions.
16 changes: 0 additions & 16 deletions BAEsislib/config.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# Copyright 2024 The e3x Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

"""Global configuration options for e3x."""

from typing import Optional
from etils import epath
from .so3.normalization import check_normalization_is_valid
Expand Down
14 changes: 0 additions & 14 deletions BAEsislib/ops/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2024 The e3x Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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 .safe import norm
from .safe import normalize
from .safe import normalize_and_return_norm
20 changes: 0 additions & 20 deletions BAEsislib/ops/safe.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

"""Numerically stable and nan-safe implementations of common operations.
In some cases, the operation itself is unproblematic, but certain inputs may
result in NaNs when taking derivatives. The implementations in this module do
not suffer from such issues.
"""

import functools
from typing import Any, Optional, Tuple, Union
import numpy as np
Expand Down
14 changes: 0 additions & 14 deletions BAEsislib/so3/common.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2024 The e3x Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

"""Common utility functions used in the so3 submodule."""

import math
Expand Down
14 changes: 0 additions & 14 deletions BAEsislib/so3/normalization.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2024 The e3x Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

r"""Normalizations for spherical harmonics."""

import math
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed test/__pycache__/testing.cpython-310.pyc
Binary file not shown.
14 changes: 0 additions & 14 deletions test/test_spherical_harmonics.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2024 The e3x Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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 re
import BAEsislib
from testing import subtests
Expand Down
14 changes: 0 additions & 14 deletions test/testing.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Copyright 2024 The e3x Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.

"""Utilities for testing."""

from typing import Any, Dict
Expand Down

0 comments on commit 2213e6d

Please sign in to comment.