Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmp #128

Merged
merged 3 commits into from
Dec 13, 2024
Merged

Tmp #128

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,8 @@ jobs:
- name: Build distributions
run: poetry build

- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish/v1
with:
user: __token__
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
verbose: true

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish/v1
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions pfb/operators/gridder.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,6 @@ def image_data_products(dsl,
meani = np.mean(ressq[mask>0]/ovar)
stdi = np.std(ressq[mask>0]/ovar)
print(f"Band {bandid} before: mean = {meani:.3e}, std = {stdi:.3e}")
# wgt_relative_one = (l2_reweight_dof + 1)/(l2_reweight_dof + ressq/ovar)
# wgt *= wgt_relative_one
wgt *= (l2_reweight_dof + 1)/(l2_reweight_dof + ressq/ovar)
else:
wgt = None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pfb-imaging"
version = "0.0.5"
version = "0.0.4"
description = "Radio interferometric imaging suite based on a preconditioned forward-backward approach"
authors = ["Landman Bester <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
github_url = "https://github.com/ratt-ru/pfb-imaging/"

[version]
current = "0.0.5"
current = "0.0.4"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down
Loading