Skip to content

Commit

Permalink
last version before thomas deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicouet committed Nov 9, 2021
1 parent 5bbe614 commit 84daf6e
Show file tree
Hide file tree
Showing 18 changed files with 395 additions and 105 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ pyDS9plugin is the first open source pythonic [SAOImageDS9](https://sites.google

Click on the image to see the 3 minutes youtube presentation video:


[![Alt Text](https://github.com/vpicouet/pyds9plugin/blob/master/pyds9plugin/doc/ref/gif/multi-image.mov.gif)](https://www.youtube.com/watch?v=XcDm2JQDMLY)



[![Alt Text](https://people.lam.fr/picouet.vincent/images/presentation.gif)](https://www.youtube.com/watch?v=XcDm2JQDMLY)


SAOImage DS9 is an astronomical imaging and data visualization application. Its 30 years of development has made it very stable and easy to use. This made it an essential tool in all fields of astronomy (observation, simulation, instrumentation). Much more profitable but pretty unsung feature, its extensibility makes it a limitless tool to interact with astronomical data. This extensibility did not generate a large collaborative and well organized effort to develop important extensions that could progressively converge towards a stable/rapid/configurable multi-extension DS9 package.
Expand Down
342 changes: 251 additions & 91 deletions pyds9plugin/DS9Utils.py

Large diffs are not rendered by default.

Binary file added pyds9plugin/Images/stack.fits
Binary file not shown.
8 changes: 8 additions & 0 deletions pyds9plugin/Images/stack18445218.fits

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions pyds9plugin/Images/stack18445542.fits

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions pyds9plugin/Images/stack18445868.fits

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions pyds9plugin/Images/stack18446197.fits

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions pyds9plugin/Images/stack18446524.fits

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions pyds9plugin/Images/stack18446850.fits

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions pyds9plugin/Images/stack18447179.fits

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions pyds9plugin/Images/stack18447503.fits

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions pyds9plugin/Images/stack18447826.fits

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions pyds9plugin/Images/stack18448156.fits

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions pyds9plugin/Images/stack18448483.fits

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyds9plugin/Macros/Crop_image_wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ def cropCLAUDS(path, position=[0, 0], size=[10, 10], all_ext=False): # ,area=[0
sys.exit()
else:
ds9_2, name = cropCLAUDS(path=getfilename(d), position=[region[0][0] - 1, region[0][1] - 1], size=np.array([region[0][3], region[0][2]], dtype=int), all_ext=False)
d.set("frame new ; tile yes ; file %s" % (name))
d.set("frame new ; tile yes ; file %s" % (name))
8 changes: 4 additions & 4 deletions pyds9plugin/QuickLookPlugIn.ds9.ans
Original file line number Diff line number Diff line change
Expand Up @@ -414,10 +414,10 @@ hmenu 3. Astronomical Softwares
menu
DS9Utils astrometry_net -x $xpa_method $message(okcancel,You are about to run an astrometric analysis. This function will send the image to the astrometry.net server and run an astrometric algorithm to generate a WCS header. Please note that this function requires an internet connection and that processing might take a few minutes and might not converge. DS9 will let you know if it converges and the WCS header will be added to the image header.) $param(LostInSpace); --type $Image --scale-units "$scale_units" --scale-lower "$scale_lower" --scale-upper "$scale_upper" --scale-est "$scale_est" --scale-err "$scale_err" --ra "$center_ra" --dec "$center_dec" --radius "$radius" --downsample "$downsample_factor" --tweak-order "$tweak_order" --crpix-center $crpix_center --parity $parity --positional_error "$positional_error" | $text

MaxiMask
*
menu
DS9Utils maxi_mask -x $xpa_method $param(MaxiMask); -pt $prob -b $size -m $single -n $net -f $F1-$F2-$F3-$F4-$F5-$F6-$F7-$F8-$F9-$F_10-$F_11-$F_12-$F_13-$F_14 -p $P1-$P2-$P3-$P4-$P5-$P6-$P7-$P8-$P9-$P_10-$P_11-$P_12-$P_13-$P_14 -t $T1-$T2-$T3-$T4-$T5-$T6-$T7-$T8-$T9-$T_10-$T_11-$T_12-$T_13-$T_14 | $text
# MaxiMask
# *
# menu
# DS9Utils maxi_mask -x $xpa_method $param(MaxiMask); -t $prob -b $size -m $single -n $net -f $F1-$F2-$F3-$F4-$F5-$F6-$F7-$F8-$F9-$F_10-$F_11-$F_12-$F_13-$F_14 -P $P1-$P2-$P3-$P4-$P5-$P6-$P7-$P8-$P9-$P_10-$P_11-$P_12-$P_13-$P_14 -T $T1-$T2-$T3-$T4-$T5-$T6-$T7-$T8-$T9-$T_10-$T_11-$T_12-$T_13-$T_14 | $text



Expand Down
8 changes: 4 additions & 4 deletions pyds9plugin/QuickLookPlugIn_DS9<8.2.ds9.ans
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,10 @@ hmenu 3. Astronomical Softwares
menu
DS9Utils astrometry_net -x $xpa_method $message(okcancel,You are about to run an astrometric analysis. This function will send the image to the astrometry.net server and run an astrometric algorithm to generate a WCS header. Please note that this function requires an internet connection and that processing might take a few minutes and might not converge. DS9 will let you know if it converges and the WCS header will be added to the image header.) $param(LostInSpace); --type $Image --scale-units "$scale_units" --scale-lower "$scale_lower" --scale-upper "$scale_upper" --scale-est "$scale_est" --scale-err "$scale_err" --ra "$center_ra" --dec "$center_dec" --radius "$radius" --downsample "$downsample_factor" --tweak-order "$tweak_order" --crpix-center $crpix_center --parity $parity --positional_error "$positional_error" | $text

MaxiMask
*
menu
DS9Utils maxi_mask -x $xpa_method $param(MaxiMask); -pt $prob -b $size -m $single -n $net -f $F1-$F2-$F3-$F4-$F5-$F6-$F7-$F8-$F9-$F_10-$F_11-$F_12-$F_13-$F_14 -p $P1-$P2-$P3-$P4-$P5-$P6-$P7-$P8-$P9-$P_10-$P_11-$P_12-$P_13-$P_14 -t $T1-$T2-$T3-$T4-$T5-$T6-$T7-$T8-$T9-$T_10-$T_11-$T_12-$T_13-$T_14 | $text
# MaxiMask
# *
# menu
# DS9Utils maxi_mask -x $xpa_method $param(MaxiMask); -t $prob -b $size -m $single -n $net -f $F1-$F2-$F3-$F4-$F5-$F6-$F7-$F8-$F9-$F_10-$F_11-$F_12-$F_13-$F_14 -P $P1-$P2-$P3-$P4-$P5-$P6-$P7-$P8-$P9-$P_10-$P_11-$P_12-$P_13-$P_14 -T $T1-$T2-$T3-$T4-$T5-$T6-$T7-$T8-$T9-$T_10-$T_11-$T_12-$T_13-$T_14 | $text



Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"argparse",
"PyQt5",
"dataphile",
"sep",
]

entry_points = {}
Expand Down

0 comments on commit 84daf6e

Please sign in to comment.