question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add angular units

See original GitHub issue

It would be very useful for astronomers to have a scale bar showing angular scales such as degree (°), arcmin (‘) and arcsec (’').

For example, this can be done by adding the so-called pixel scale in the units of arc seconds per pixel (or even more available units) as an input. For example pixel scale = 0.2 implies that each pixel spans 0.2 arcsec. Here is the best I could do with the current version of matplotlib-scalebar.

scalebar

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ppinardcommented, Jul 12, 2019

Code merged. Please re-open if it doesn’t address the original issue.

1reaction
ppinardcommented, Jun 9, 2019

Thank you for this request. I made a first implementation in the branch angular. There is a new dimension Angular where the units can either be degree (°), minute of arc (′, 1/60 of °) or second of arc (′′, 1/3600 of °).

Here is how it looks like:

example_angular

Please let me know if this addresses your issue. If so, I will merge the branch and make a new release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angle Representations and Angular Units - MATLAB & Simulink
This topic describes the angular units that Mapping Toolbox™ functions use, how to convert between common angle representations, and how to format latitude ......
Read more >
hansmaad/ng-units: Angular component library for ... - GitHub
Angular component library for units of measurement - GitHub ... To initialize your system of units (adding predefined or custom quantities to it), ......
Read more >
Testing - Angular
The testing documentation offers tips and techniques for unit and integration testing Angular applications through a sample application created with the ...
Read more >
Angular unit testing tutorial with examples - LogRocket Blog
This tutorial demonstrates how to build an Angular app and write a unit test, test an async operator, and automatically generate a unit...
Read more >
Angles and units (article) | Khan Academy
We'll get to think about angles and angular velocity and acceleration. ... A radian is a unit of measurement for angles defined by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found