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

Baseline patch #278

Merged
merged 40 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
41617ce
add a __main__ entry
teuben Feb 20, 2024
d030364
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Apr 29, 2024
59206cd
Merge branch 'main' into pre-commit-ci-update-config
mpound Apr 30, 2024
aea5c02
Merge branch 'main' of https://github.com/GreenbankObservatory/dysh
teuben May 6, 2024
22250dc
normalize freq axis from 0..nchan-1 to avoid roundoff
teuben May 22, 2024
6b90658
note on a possible future enhancement for a min. match routine
teuben May 22, 2024
7a79163
proper early return
teuben May 22, 2024
a3aa507
use the new minimum_string_match() function
teuben May 23, 2024
b5d7191
implement minimum_string_match()
teuben May 23, 2024
f53dd8f
remove debug
teuben May 23, 2024
6435891
add warning
teuben May 23, 2024
3e06d9c
add test for minimum_string_match
teuben May 23, 2024
779a871
add TGBT21A_501_11.raw.vegas.fits
teuben May 30, 2024
f055b7a
allow include= in baseline selection (but then exclude= is ignored)
teuben May 30, 2024
e91163a
my hotchpotch of spyder cells to test getps() and getfs()
teuben May 30, 2024
87f6184
Merge remote-tracking branch 'origin/release-0.3.0' into baseline-patch
teuben May 30, 2024
43ce3dc
add examples, clarify some caveats
teuben May 30, 2024
feaee14
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 30, 2024
e5c83a2
Merge branch 'main' into pre-commit-ci-update-config
mpound Jun 11, 2024
5faa5e1
Merge pull request #234 from GreenBankObservatory/pre-commit-ci-updat…
mpound Jun 11, 2024
37a559c
create integration number when loading SDFITS data
mpound Jun 13, 2024
9fe4d2b
restore index file for testing
mpound Jun 13, 2024
7c76e99
remove big index file
mpound Jun 13, 2024
2e56ca5
use smaller A6 file
mpound Jun 13, 2024
2e7bcd0
Merge branch '272-integration-number-needs-to-be-defined-in-sdfits-in…
mpound Jun 13, 2024
2bc1842
Merge pull request #273 from GreenBankObservatory/272-integration-num…
mpound Jun 14, 2024
da85da1
Merge branch 'main' into baseline-patch
teuben Jun 26, 2024
43b49e7
dummy patch
teuben Jun 26, 2024
3cbc09d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 26, 2024
4cd4f74
another dummy patch to make it into 0.3.0
teuben Jun 27, 2024
2620084
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 27, 2024
632e12e
clarify include/exclude= for baseline subtraction
teuben Jun 27, 2024
4193279
added test for embedded string
teuben Jun 27, 2024
4fffd29
Merge branch 'baseline-patch' of https://github.com/GreenbankObservat…
teuben Jun 27, 2024
6f8f8f7
refactor the selection of models using minimum_match
teuben Jun 27, 2024
0d21051
promote _undo_baseline
teuben Jun 27, 2024
c05c39b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 27, 2024
3c6207a
remove old comment
teuben Jun 28, 2024
8b15b28
clarified and expanded examples
teuben Jun 28, 2024
4be7543
Merge branch 'baseline-patch' of https://github.com/GreenbankObservat…
teuben Jun 28, 2024
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
- id: isort
exclude: '(notebooks|attic|benchmark|testdata)/.*'
- repo: 'https://github.com/psf/black'
rev: 24.4.0
rev: 24.4.2
hooks:
- id: black
exclude: '(notebooks|attic|benchmark|testdata)/.*'
5 changes: 5 additions & 0 deletions attic/sdfitsload.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,3 +485,8 @@ def __init__(self, filename, src=None, hdu=None):
self.ushow(0, "PROCSIZE")
self.ushow(0, "OBSMODE")
self.ushow(0, "SIDEBAND")


if __name__ == "__main__":
import sys
GBTLoad(sys.argv[1])
Loading
Loading