RalphLambrecht
Allowing Ads
Steve
Are we still talking about your potential plotting software, or are you turning this thread into your Delta-X soapbox? Just let me know, I'm in for the former and out for the latter.
ic-racer was talking about a fractional gradient feature. That is the Delta-X criterion. I have the feature already incorporated in the program and was simply presenting an example of data analysis. The program doesn't have inertia speeds and probably won't since that method was discredited in the twenties. I might take a shot at gamma since Agfa still uses it.
...So, assuming Stephen gets this thing going, how will I benefit from it (apart from the obvious savings in some time) in ways that I may not now know? Just curious, thanks in advance.
Chuck
In other words, you don't need any of this to take good pictures, but if you're already drawing your own curves by hand, I'm afraid, you've already been bitten by the bug of photographic science.
So, assuming Stephen gets this thing going, how will I benefit from it (apart from the obvious savings in some time) in ways that I may not now know? Just curious, thanks in advance.
Chuck
Another thing that would be very useful to lots of people would be a way to scan the step wedge (calibrated) and the resulting film and read the values in automatically from the film. I imagine a simple template to place them both on the scanner and then identify the corners would allow this to automatically read and plot the curve. For people without a densitometer it would let them use the program. I have a densitometer and I'd use this simply to avoid reading and entering a 100 points for a family of curves.
I have a densitometer and I'd use this simply to avoid reading and entering a 100 points for a family of curves.
I'll have to agree with Ralph on this one. I too hate the tedium of having to enter by hand 100s of readings. That is why my program uses a modem link with MacBeth densitometers. It takes longer to enter the film/developer information than it does to record the wedge data.
I'll have to agree with Ralph on this one. I too hate the tedium of having to enter by hand 100s of readings. That is why my program uses a modem link with MacBeth densitometers. It takes longer to enter the film/developer information than it does to record the wedge data.
Have you tried SciDAVis? It's available for OS-X, M$, and linux.Here is an example of some C++ spline functions. One problem I have had with splines is that in the software I have been using (Deltagraph) it won't give me an equation for the spline. It just uses the spline for the graph output. It gives a nice smooth shape, but won't do any calculations on it. Its a "display only" function. I have used other software like that. So, my question is how do you solve for unknowns with the spline? Maybe its only "PC" software that can do that
Here is an example of some C++ spline functions. One problem I have had with splines is that in the software I have been using (Deltagraph) it won't give me an equation for the spline. It just uses the spline for the graph output. It gives a nice smooth shape, but won't do any calculations on it. Its a "display only" function. I have used other software like that. So, my question is how do you solve for unknowns with the spline? Maybe its only "PC" software that can do that
Sadly, I could do this in about 8 lines of Python code, but it's command line driven and you need to jump through some hoops to install the appropriate packages. Matlab would be a lot easier, but a lot more expensive than free.
Sure thing. I use matplotlib and scipy for a lot of my work. matplotlib is a plotting package that does all of the graphical work. It's pretty easy to use once you get the hang of it. It requires the numpy package, which is a very nice array module, along with some lightweight math functions (simple polynomial fits, ffts, etc.). Scipy is the heavy duty scientific package with modules for integration, interpolation, curve fitting, etc.
I've attached a plot and the code I used. I snatched some data from the Kodak pdf on T-Max 3200, one of the curves for T-Max dev I think in a small tank, the 13 min development time. I sampled 12 points off that curve to use as my starting point. I then generated a spline, an array of x values to fill in the blanks, and evaluated the spline at those values. The original data is plotted in white circles, the spline fit is the dashed line. I then figured out what fb+.1 was by searching for the minimum y value of the spline + .1. fb + .1 is printed at the top, and is also shown in the dotted horizontal line.
You can see the code is only 26 lines long, including a couple blank lines thrown in. The first 9 lines are just importing modules and defining the data. Lines 10-13 are the actual spline fit, evaluation, and figuring out what fb+.1 is. The rest is just plotting.
Some graphing programs use splines as display-only functions. However, those x and y values for the spline must be available internally to the program - otherwise how does it plot the curve at all?...
...And from what I understand from reading what PE has written a couple times, there isn't a useful equation, and at Kodak they spline fit characteristic curves...
I understand that some programs use spline functions but take three-data-points at a time to fit a parabola through them. This makes sure all data points are 'hit', but ingoing and outgoing tangents of adjacent parabolas may not match very well, leading to a potentially 'rough' curve. These curves have indeed no equation for the curve fit, because they just draw a bunch of unrelated parabolas.
Yes, that is what I had learned many years ago. It is not a real 'statistical' fit. But from what I am learning there are different types of spline fits?? Yes??
...Either way, there was that thread on mathematical curve fits, that many of us here posted to. Its just a matter of Steve incorporating something into his program.
First, thanks for posting the code Tim.You can see the code is only 26 lines long, including a couple blank lines thrown in. The first 9 lines are just importing modules and defining the data. Lines 10-13 are the actual spline fit, evaluation, and figuring out what fb+.1 is. The rest is just plotting.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?