Justin Gerber

Results 113 comments of Justin Gerber

A little bit of research doesn't yield standards or common practices. I think anything that has an exponent divisible by 3 counts as engineering notation, so for 1200 all of...

This is as close as we're going to get to an official standard I think: https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-7-rules-and-style-conventions-expressing-values See 7.9 on choosing SI prefixes. It suggests the exponent is chosen to be...

Yes, that sounds great to me! I like upper case for 1-1000 and lower for 0.1 to 100. Maybe `r` or `R` since `e` and `n` and `g` from ENGINEERING...

I've begun work on this. It was pretty straightforward to get `r` and `R` formats working in the `__format__` method. The `ufloat_fromstr()` will be challenging for me to tackle since...

Sounds good! I'll continue to work on this and if I have more questions of this nature I'll ask them here!

To clarify this issue: Here's the code for `ModelResult.conf_interval()` ``` def conf_interval(self, **kwargs): """Calculate the confidence intervals for the variable parameters. Confidence intervals are calculated using the :func:`confidence.conf_interval` function and...

@newville having the method save it's result into `self.ci_out` but then always recalculating when `ModelResult.conf_interval()` is called (and updating `self.ci_out` with the new data) seems reasonable to me. The only...

@newville I guess I'm still not fully following your logic. Here's my suggested form for the `conf_interval()` method: ``` def conf_interval(self, **kwargs): """Calculate the confidence intervals for the variable parameters....

@newville Ah I see, that seems fine. For my use case I only use the `sigmas` `kwarg` so the `update` behavior just makes it so that if I changes the...

@newville ah yeah maybe I wasn't clear with my example. With my first do sigma=1 then do sigma=2 I was just surprised that the printout was still showing only sigma=1...