JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for STARDEV Archives


STARDEV Archives

STARDEV Archives


STARDEV@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

STARDEV Home

STARDEV Home

STARDEV  January 2015

STARDEV January 2015

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

[Starlink/starjava] 8bbdcc: ttools: provide flexible density scaling functions

From:

GitHub <[log in to unmask]>

Reply-To:

Starlink development <[log in to unmask]>

Date:

Fri, 30 Jan 2015 03:59:35 -0800

Content-Type:

multipart/mixed

Parts/Attachments:

Parts/Attachments

text/plain (425 lines)

  Branch: refs/heads/master
  Home:   https://github.com/Starlink/starjava
  Commit: 8bbdcc315cc40dcd72716b402c0f0632914e0700
      https://github.com/Starlink/starjava/commit/8bbdcc315cc40dcd72716b402c0f0632914e0700
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/PlotUtil.java
    A ttools/src/main/uk/ac/starlink/ttools/plot2/config/ScalingConfigKey.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/StyleKeys.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/CountScaler.java
    A ttools/src/main/uk/ac/starlink/ttools/plot2/layer/Scaler.java
    A ttools/src/main/uk/ac/starlink/ttools/plot2/layer/Scaling.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java
    A ttools/src/testcases/uk/ac/starlink/ttools/plot2/layer/ScalingTest.java

  Log Message:
  -----------
  ttools: provide flexible density scaling functions

Rework the code which scales density values when generating
pixel colours in Density and Auto plotting ShapeModes.
This was initially to fix a problem in the scaling,
which was just not quite done right: at low densities,
two points plotted over each other were nearly the
same colour, but three points mapped to significantly further into
the density colour map.  But while I was there I generalised the
colour mapping mechanism to allow different mapping functions;
for now add sqrt and square alongside log and linear.  The UI
changes correspondingly.  Also made it more efficient by caching
relatively low-density values (in new class CountScaler, which is
quite different from old class CountScaler).


  Commit: d2fa732aecadc5cb9850427bb9f944c17bdce844
      https://github.com/Starlink/starjava/commit/d2fa732aecadc5cb9850427bb9f944c17bdce844
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java
    R ttools/src/main/uk/ac/starlink/ttools/plot2/config/ScalingConfigKey.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/StyleKeys.java
    R ttools/src/main/uk/ac/starlink/ttools/plot2/layer/RangeScaler.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/Scaling.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SpectrogramPlotter.java

  Log Message:
  -----------
  ttools: ramp flip is now a property of Shader not Scaling

Logically it makes more sense for the flip to apply to the shader.
Group config keys appropriately.


  Commit: 6a0fa29ea68385bef4b440fb808a1d95608d3fb4
      https://github.com/Starlink/starjava/commit/6a0fa29ea68385bef4b440fb808a1d95608d3fb4
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    A ttools/src/main/uk/ac/starlink/ttools/plot2/Scaler.java
    A ttools/src/main/uk/ac/starlink/ttools/plot2/Scaling.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/StyleKeys.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/CountScaler.java
    R ttools/src/main/uk/ac/starlink/ttools/plot2/layer/Scaler.java
    R ttools/src/main/uk/ac/starlink/ttools/plot2/layer/Scaling.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SpectrogramPlotter.java
    A ttools/src/testcases/uk/ac/starlink/ttools/plot2/ScalingTest.java
    R ttools/src/testcases/uk/ac/starlink/ttools/plot2/layer/ScalingTest.java

  Log Message:
  -----------
  ttools: move classes Scaling, Scaler from plot2.layer -> plot2


  Commit: 7d20ace5bd25a6ebf1c53021806a04c5e7b938e6
      https://github.com/Starlink/starjava/commit/7d20ace5bd25a6ebf1c53021806a04c5e7b938e6
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M topcat/src/main/uk/ac/starlink/topcat/plot2/ShaderControl.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/Scaling.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/ShadeAxis.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SpectrogramPlotter.java

  Log Message:
  -----------
  ttools: aux axis now has configurable scaling

You can now select the scaling function for the aux axis
by supplying a Scaling value rather than just toggling between
linear and logarithmic.  Same applies to Spectrogram Plotter.

Scalings have to report whether they are "log-like" or not,
so that clients can know how to label the colour ramp
(what ticks to draw and where to draw them).


  Commit: 68bf37bd948502ad70fc9b8f9b077f87c28d8725
      https://github.com/Starlink/starjava/commit/68bf37bd948502ad70fc9b8f9b077f87c28d8725
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/ColorConfigKey.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/StyleKeys.java

  Log Message:
  -----------
  ttools: adjust colour config key labelling


  Commit: 0c0783cd310c7bcdebd2c059bcb4f66f8efbe47d
      https://github.com/Starlink/starjava/commit/0c0783cd310c7bcdebd2c059bcb4f66f8efbe47d
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/StyleKeys.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java

  Log Message:
  -----------
  ttools: minor changes to shader key metadata


  Commit: 97ad679bfb691df7eec25e0ba79700cf3381e812
      https://github.com/Starlink/starjava/commit/97ad679bfb691df7eec25e0ba79700cf3381e812
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M topcat/src/main/uk/ac/starlink/topcat/plot2/ShaderControl.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/StyleKeys.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/ShapeMode.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SpectrogramPlotter.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/task/AbstractPlot2Task.java

  Log Message:
  -----------
  ttools: rationalise and refactor RampKeySet

Make RampKeySet more flexible, and use it for the density shading
in ShapeMode as well as for Aux and Spectro shading.
This eliminates some special case/duplicated code in density shading,
and makes it easier to add extra shader functionality in a consistent
way for different functions.

RampKeySet.Ramp interface now just aggregates a Shader and a Scaling,
which is all it was really doing before.


  Commit: 9f61949ff473b6402961318191743ffb55c6c18c
      https://github.com/Starlink/starjava/commit/9f61949ff473b6402961318191743ffb55c6c18c
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M topcat/src/docs/figures/ShaderControl_map.gif
    M topcat/src/docs/figures/SpectrogramLayerControl_style.gif
    M topcat/src/docs/figures/mode_density.gif
    M topcat/src/docs/sun253.xml
    M ttools/src/docs/sun256.xml

  Log Message:
  -----------
  topcat: document new aux/density Scaling function option

Add screenshots and change log notes in the topcat and stilts user
documents about the new capabilities for applying scaling functions
to Aux axis and Density shading mode colour maps, and
spectrogram layer.


  Commit: b197a610025e72d43bccf1a201b53b7b811241d4
      https://github.com/Starlink/starjava/commit/b197a610025e72d43bccf1a201b53b7b811241d4
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M ttools/src/docs/sun256.xml
    M ttools/src/main/uk/ac/starlink/ttools/plot2/task/AbstractPlot2Task.java

  Log Message:
  -----------
  ttools: document existing auxmin and auxmax plot2 params

These parameters were present and working but undocumented in
AbstractPlot2Task and subclasses.


  Commit: 53ad6d9f44e684ba0c92392b7de63166e9ff1a17
      https://github.com/Starlink/starjava/commit/53ad6d9f44e684ba0c92392b7de63166e9ff1a17
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/SliderSpecifier.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/BinSizer.java

  Log Message:
  -----------
  ttools: add flip option to SliderSpecifier


  Commit: a411e955951a7ee4120fd7852744707321fec285
      https://github.com/Starlink/starjava/commit/a411e955951a7ee4120fd7852744707321fec285
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M topcat/src/docs/figures/ShaderControl_map.gif
    M topcat/src/docs/figures/SpectrogramLayerControl_style.gif
    M topcat/src/docs/figures/mode_density.gif
    M topcat/src/docs/sun253.xml
    M ttools/src/docs/sun256.xml
    M ttools/src/main/uk/ac/starlink/ttools/plot/Shaders.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java

  Log Message:
  -----------
  ttools: add colour map quantisation option


  Commit: 129af6779768bdd59c61b654f563fae55274c88c
      https://github.com/Starlink/starjava/commit/129af6779768bdd59c61b654f563fae55274c88c
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/gui/ResourceIcon.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/DoubleConfigKey.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/IntegerConfigKey.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/RampKeySet.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/SliderSpecifier.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/BinSizer.java
    A ttools/src/resources/uk/ac/starlink/ttools/gui/ozero.png

  Log Message:
  -----------
  ttools: add reset button to slider controls

All SliderSpecifiers now have an associated button that resets them
to their default values.  Not documented. The button is a bit ugly.


  Commit: 8888877259fc998f68b4c8de49e0f5e98b6005f9
      https://github.com/Starlink/starjava/commit/8888877259fc998f68b4c8de49e0f5e98b6005f9
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M topcat/src/docs/figures/ConfigControl_histobars.gif
    M topcat/src/docs/figures/CubeAxisControl_grid.gif
    M topcat/src/docs/figures/CubeAxisControl_navigation.gif
    M topcat/src/docs/figures/CubeAxisControl_view.gif
    M topcat/src/docs/figures/HistogramLayerControl_form.gif
    M topcat/src/docs/figures/HistogramPlotWindow.gif
    M topcat/src/docs/figures/PlaneAxisControl_grid.gif
    M topcat/src/docs/figures/PlaneAxisControl_navigation.gif
    M topcat/src/docs/figures/PlanePlotWindow.gif
    M topcat/src/docs/figures/ShaderControl_map.gif
    M topcat/src/docs/figures/ShaderControl_ramp.gif
    M topcat/src/docs/figures/SkyAxisControl_grid.gif
    M topcat/src/docs/figures/SkyAxisControl_navigation.gif
    M topcat/src/docs/figures/SpectrogramLayerControl_style.gif
    M topcat/src/docs/figures/SphereAxisControl_grid.gif
    M topcat/src/docs/figures/SphereAxisControl_navigation.gif
    M topcat/src/docs/figures/SphereAxisControl_view.gif
    M topcat/src/docs/figures/TimeAxisControl_grid.gif
    M topcat/src/docs/figures/TimeAxisControl_navigation.gif
    M topcat/src/docs/figures/form_contour.gif
    M topcat/src/docs/figures/form_ellipse.gif
    M topcat/src/docs/figures/form_label.gif
    M topcat/src/docs/figures/form_size.gif
    M topcat/src/docs/figures/form_sizexy.gif
    M topcat/src/docs/figures/form_vector.gif
    M topcat/src/docs/figures/mode_aux.gif
    M topcat/src/docs/figures/mode_density.gif
    M topcat/src/docs/figures/mode_translucent.gif
    M topcat/src/docs/figures/mode_transparent.gif
    M topcat/src/docs/sun253.xml

  Log Message:
  -----------
  topcat: document new reset button for sliders

Lots of screenshots needed updating.


  Commit: 5f722a9c5b701589fb204a00dc798037589d82bd
      https://github.com/Starlink/starjava/commit/5f722a9c5b701589fb204a00dc798037589d82bd
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/PlotUtil.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/config/SliderSpecifier.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/geom/PlaneSurface.java

  Log Message:
  -----------
  ttools: report SliderSpecifier value without spurious precision


  Commit: 17b3d8280788a0db7ef9cd3471ab8e6c44dbc261
      https://github.com/Starlink/starjava/commit/17b3d8280788a0db7ef9cd3471ab8e6c44dbc261
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M topcat/src/docs/sun253.xml
    M topcat/src/main/uk/ac/starlink/topcat/plot2/ConfigSpecifier.java
    M topcat/src/main/uk/ac/starlink/topcat/plot2/CoordPanel.java

  Log Message:
  -----------
  topcat: add stilts-friendly tooltips to plot2 config labels

The JLabels attached to configuration specifiers and coordinate
selectors used in the plot2 windows now sport tooltips of
the form name=value, which can be used directly in the corresponding
STILTS plotting command.

The tooltips used to be on the the config (but not coord) specifiers
themselves, but this didn't work very well because in some cases
(specifiers composed of more than one component) they weren't
visible, so this has been withdrawn.


  Commit: 232f9e35cba76e0e20a1820086bf343b17da40a8
      https://github.com/Starlink/starjava/commit/232f9e35cba76e0e20a1820086bf343b17da40a8
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M topcat/src/main/uk/ac/starlink/topcat/plot2/ConfigSpecifier.java
    M topcat/src/main/uk/ac/starlink/topcat/plot2/CoordPanel.java
    A topcat/src/main/uk/ac/starlink/topcat/plot2/InstantTipper.java

  Log Message:
  -----------
  topcat: make plot2 config tooltips instant and persistent

Configure the stilts-friendly plot2 tooltips on config and coord
labels so that they pop up instantly and stay as long as the mouse
is on them, rather than delaying before they are seen and then
disappearing after a while.

I think this is a good idea, especially so that people notice this
information is available from the labels.  However, it might prove
to be annoying, in which case it could be harmlessly withdrawn
in future.


  Commit: d8b835ab33228455b724bbde64022f1f8fea07df
      https://github.com/Starlink/starjava/commit/d8b835ab33228455b724bbde64022f1f8fea07df
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/XYShapes.java

  Log Message:
  -----------
  ttools: fix some bugs in XYShapes

Filled/Open logic was reversed for ellipse shape.
Also rectangles (BlockShape) were being clipped wrongly.


  Commit: 5d9b960e9150868672c7fe8551eb5ebfbffc9599
      https://github.com/Starlink/starjava/commit/5d9b960e9150868672c7fe8551eb5ebfbffc9599
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SizeXyForm.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/XYShapes.java

  Log Message:
  -----------
  ttools: change caching behaviour for SizeXY form

Remove an extra level of caching, it's probably trying to be
too clever.  Leave the code in place, but switched off by default.
Also fix one important efficiency mistake: I was using createGlyph
where I should have used getGlyph (thereby avoiding some upstream
caching that really does help).


  Commit: 985a8ba462c1de3c5c14a283694c9222ab834db4
      https://github.com/Starlink/starjava/commit/985a8ba462c1de3c5c14a283694c9222ab834db4
  Author: Mark Taylor <[log in to unmask]>
  Date:   2015-01-30 (Fri, 30 Jan 2015)

  Changed paths:
    M topcat/src/docs/sun253.xml
    M ttools/src/main/uk/ac/starlink/ttools/plot2/PlotUtil.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/MarkForm.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SizeForm.java
    M ttools/src/main/uk/ac/starlink/ttools/plot2/layer/SizeXyForm.java

  Log Message:
  -----------
  ttools: limit maximum size of Shape/ShapeXY markers

Impose a fixed limit on the maximum size of sized markers
(currently 100 pixels), since very large ones can cause resource
trouble (memory and CPU), and with the rescale slider in topcat
it's easy to accidentally make them bigger than you want.


Compare: https://github.com/Starlink/starjava/compare/234d2fd22381...985a8ba462c1

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

December 2023
January 2023
December 2022
July 2022
June 2022
April 2022
March 2022
December 2021
October 2021
July 2021
April 2021
January 2021
October 2020
September 2020
August 2020
May 2020
November 2019
October 2019
July 2019
June 2019
February 2019
January 2019
December 2018
November 2018
August 2018
July 2018
May 2018
April 2018
March 2018
February 2018
December 2017
October 2017
August 2017
July 2017
May 2017
April 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
October 2015
September 2015
August 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
2004
April 2003
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager