JuliaPhysics / JuliaPhysics/Unitful.jl

Counts?

Open
#306 10 comments 1 reaction 0 assignees View on GitHub
new units
Dominant language
Julia
Stars
675
Forks
124
Avg merge
3h 38m
Merged PRs (30d)
1

Description

Does it make sense to define "Counts" ?

For example, in intensity can be described as counts per second. Similarly, for an inductor or helmholtz coil we might have "turns" / meter. Now turns is just syntactic sugar really and could be user defined, it's a counting event.

Or in chemistry we have a notion of a "mole" which is ~6.023x10^23 "atoms/molecules/moeities/etc". For analysis sometimes we care about this type of unit IE: Parts Per Million (ppm).

I understand these aren't SI or MKT units but they are fundamental :). Would really appreciate this consideration. There is a chance this is in here somewhere but I can't figure out how to do it without some pretty hacky stuff.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by reviewing the existing unit-definition and extension APIs, then determine whether count-based units, turns, and mole-related quantities can be represented without hacks. Done should mean a concrete, agreed scope and design for supporting these units, with affected tests or documentation identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.