-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move-tests: (5 commits) Add missing data files ...
- Loading branch information
Showing
99 changed files
with
2,582 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +0,0 @@ | ||
""" | ||
Root level :mod:`sourcefinder.utility` functions that don't justify a submodule: | ||
""" | ||
import math | ||
|
||
|
||
def nice_format(f): | ||
if f > 9999 or f < 0.01: | ||
return "%.2e" % f | ||
else: | ||
return "%.2f" % f | ||
|
||
|
||
def substitute(value, sub, test_f): | ||
try: | ||
if test_f(value): | ||
return sub | ||
except TypeError: | ||
pass | ||
return value | ||
|
||
|
||
def substitute_inf(value, sub="Infinity"): | ||
""" | ||
If value is not infinite, return value. Otherwise, return sub. | ||
""" | ||
return substitute(value, sub, math.isinf) | ||
|
||
|
||
def substitute_nan(value, sub=0.0): | ||
""" | ||
If value is not NaN, return value. Otherwise, return sub. | ||
""" | ||
return substitute(value, sub, math.isnan) | ||
|
||
|
||
class adict(dict): | ||
""" | ||
Accessing dict keys like an attribute. | ||
""" | ||
|
||
def __getattr__(self, key): | ||
try: | ||
return self[key] | ||
except KeyError: | ||
msg = "can't find %s, please check your settings file" | ||
raise AttributeError(msg % key) | ||
|
||
__setattr__ = dict.__setitem__ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Type = Log message | ||
SubType = | ||
|
||
Repository for software-generated logging messages |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = Image | ||
SubType = | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Type = Log message | ||
SubType = | ||
|
||
Repository for software-generated logging messages |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = Image | ||
SubType = | ||
|
Binary file not shown.
Binary file added
BIN
+3.52 KB
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ANTENNA/table.dat
Binary file not shown.
Binary file added
BIN
+17 KB
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ANTENNA/table.f0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ANTENNA/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ANTENNA/table.lock
Binary file not shown.
Binary file added
BIN
+3.9 KB
...c_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_FIELD/table.dat
Binary file not shown.
Binary file added
BIN
+5.01 KB
...sc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_FIELD/table.f0
Binary file not shown.
Binary file added
BIN
+136 Bytes
...c_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_FIELD/table.f0i
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_FIELD/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_FIELD/table.lock
Binary file not shown.
Binary file added
BIN
+2.53 KB
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_HISTORY/table.dat
Binary file not shown.
Binary file added
BIN
+102 KB
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_HISTORY/table.f0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_HISTORY/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_HISTORY/table.lock
Binary file not shown.
Binary file added
BIN
+9.24 KB
...6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_OBSERVATION/table.dat
Binary file not shown.
Binary file added
BIN
+69.7 KB
...x6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_OBSERVATION/table.f0
Binary file not shown.
Binary file added
BIN
+20.4 KB
...6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_OBSERVATION/table.f0i
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_OBSERVATION/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_OBSERVATION/table.lock
Binary file not shown.
Binary file added
BIN
+4.01 KB
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ORIGIN/table.dat
Binary file not shown.
Binary file added
BIN
+6.01 KB
...c_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ORIGIN/table.f0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ORIGIN/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_ORIGIN/table.lock
Binary file not shown.
Binary file added
BIN
+3.35 KB
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_POINTING/table.dat
Binary file not shown.
Binary file added
BIN
+2.38 KB
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_POINTING/table.f0
Binary file not shown.
Binary file added
BIN
+16 Bytes
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_POINTING/table.f0i
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...ax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_POINTING/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...ax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_POINTING/table.lock
Binary file not shown.
Binary file added
BIN
+898 Bytes
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_QUALITY/table.dat
Binary file not shown.
Binary file added
BIN
+2.76 KB
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_QUALITY/table.f0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_QUALITY/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_QUALITY/table.lock
Binary file not shown.
Binary file added
BIN
+3.59 KB
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_SOURCE/table.dat
Binary file not shown.
Binary file added
BIN
+3.13 KB
...c_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_SOURCE/table.f0
Binary file not shown.
Binary file added
BIN
+16 Bytes
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_SOURCE/table.f0i
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_SOURCE/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_SOURCE/table.lock
Binary file not shown.
Binary file added
BIN
+923 Bytes
...wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_STATION/table.dat
Binary file not shown.
Binary file added
BIN
+1.51 KB
..._wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_STATION/table.f0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_STATION/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
...max6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/LOFAR_STATION/table.lock
Binary file not shown.
Binary file added
BIN
+1.36 KB
...llsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/logtable/table.dat
Binary file not shown.
Binary file added
BIN
+96.5 KB
...ellsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/logtable/table.f0
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
...lsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/logtable/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Type = Log message | ||
SubType = | ||
|
||
Repository for software-generated logging messages |
Binary file added
BIN
+325 Bytes
...lsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/logtable/table.lock
Binary file not shown.
Binary file added
BIN
+8.05 KB
...9_skymodellsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/table.dat
Binary file not shown.
Binary file added
BIN
+293 Bytes
...09_skymodellsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/table.f0
Binary file not shown.
Binary file added
BIN
+1 MB
...ymodellsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/table.f0_TSM0
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
..._skymodellsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/table.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = Image | ||
SubType = | ||
|
Binary file added
BIN
+325 Bytes
..._skymodellsc_wmax6000_noise_mult10_cell40_npix512_wplanes215.img.restored.corr/table.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Type = Log message | ||
SubType = | ||
|
||
Repository for software-generated logging messages |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Type = Image | ||
SubType = | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.