45,491 reputation
572180
bio website
location
age
visits member for 2 years, 8 months
seen 5 mins ago

Jul
18
comment About evaluation in Block
Have a look at Trace[func[2]]
Jul
15
awarded  Nice Answer
Jul
14
comment Slow import of multigigabyte TIF image stacks
To see what Import is actually doing with those functions you could do a trace like this: With[{syms = Alternatives @@ Symbol /@ Names["*`*TIFF*"]}, Trace[Import["frame1.tif"], syms, TraceInternal -> True]]
Jul
13
comment Slow import of multigigabyte TIF image stacks
I don't have version 9 to check. You could try ?*`*TIFF* to see if there are any likely looking functions anywhere else. The function isn't documented, it is used internally by Import.
Jul
13
comment Slow import of multigigabyte TIF image stacks
On version 8 I can use Image`ImageReadTIFF[filename, All] to load the single frame file about 120 times faster than Import does. I don't know if there are any nasty side effects or if it will work on the large file, but it might be worth trying.
Jul
12
comment Building graph based on the cities connection?
@Alex, I'm on version 8.0.4. You could take a look at the ComputationalGeometry package, that has a DelaunayTriangulation function.
Jul
12
comment Building graph based on the cities connection?
@Alex, I'm not sure what you mean by that last comment.
Jul
12
comment Building graph based on the cities connection?
@Alex, oops my apologies - cd was a symbol I was using for the polygon - I've restored it to how it should be.
Jul
12
revised Building graph based on the cities connection?
added 31 characters in body
Jul
12
answered Building graph based on the cities connection?
Jul
12
revised Graph two interpolations together
formatted code properly
Jul
11
comment Partitioning with varying partition size
@JacobAkkerboom, interesting point! There must be special handling so that SetDelayed knows you are trying to set a downvalue for f rather than for Blank. I wonder if it is even possible to set a downvalue for Blank (in the unlikely event that you would ever want to...)
Jul
11
comment Is there an easy way to create a “IntensitySquaredCentroid” using ComponentMeasurements?
@nikie, or ImageApply[#^3 &, image] or even ImageAdjust[image, {0,0,3}]. I suggest you post your comment as an answer.
Jul
10
answered Conjugating symbolic expression
Jul
9
comment Graph rendering not working as expected
If it's a problem you can wrap the function in Hold and release it after the graphics expression is created: GraphPlot[{1->2,2->3,3->1},EdgeRenderingFunction->Hold[(Print["e ",##];Arrow[#1,0.1])&]]//ReleaseHold
Jul
8
comment PlotMarkers don't change colour for different lines
@MichaelE2, it looks like a rounding error thing - if you use 1/100 and 1/5 instead of 0.01 and 0.2 the bug goes away.
Jul
8
answered PlotMarkers don't change colour for different lines
Jul
7
comment xkcd-style graphs
@tchronis, follow the link in the comment above yours.
Jun
30
comment Fitting a two-dimensional Gaussian to a set of 2D pixels
That is the full script, apart from the definition of data which I copied from the question. I suggest you step through the code one line at a time and make sure that mx, my, a, b, and c are all single numbers. I'm away from the computer this week, so that's about all the help I can offer at the moment. You could try asking in chat if anyone else can get it working.
Jun
29
answered Fitting a two-dimensional Gaussian to a set of 2D pixels