60 reputation
7
bio website uk.linkedin.com/pub/…
location Oxford, United Kingdom
age 25
visits member for 9 months
seen 17 hours ago
stats profile views 15

I'm a biophysicist who escaped academia to work for Wolfram Research (in the UK) as a Technical Presenter - all opinions and badly optimised code my own.


May
4
comment Notebook UI: Autocompletion - Display function arguments when typing?
@murray that's strange, I use Cmd+K for Options frequently - have you changed any autocompletion preferences? It's interesting to note the Documentation doesn't mention this shortcut, Hyperlink["paclet:tutorial/UsingTheInputAssistant"], I found it by accident.
May
4
comment Notebook UI: Autocompletion - Display function arguments when typing?
To chime in, with M9 you can get a list of possible (but not all) Options for a function by pressing Ctrl+K (or Cmd+K) after the minimum number of arguments are provided to the function: i.e. Plot[x,{x,1,10}, then Ctrl+K
Apr
14
comment Triangle mapped on a sphere in $\mathbb R^3$?
@JM cheers, there should be cheat sheets on you experts.
Apr
13
comment Triangle mapped on a sphere in $\mathbb R^3$?
As it's a simple transform it's not really appropriate, but do you know CoordinateTransform (further to the deprecated Vector Analysis package) exists as of 9?
Apr
13
awarded  Informed
Feb
23
awarded  Commentator
Feb
23
comment My Data has negative and positive numbers, can I still use it to get the PDF?
@ssch by default SignificanceLevel for DistributionFitTest is set at 0.05 but you can just add the Option to the function to change the cut off.
Feb
23
comment My Data has negative and positive numbers, can I still use it to get the PDF?
@ssch, As far as I understand DistributionFitTest gives you back the p-value from the test which is going to vary for each set but most of the results of the actual test are what you expect sets=100;size=10000;data=RandomVariate[NormalDistribution[x,{sets,size}];Tally[‌​(DistributionFitTest[#,Automatic,"ShortTestConclusion"] & /@ data)]
Feb
23
comment My Data has negative and positive numbers, can I still use it to get the PDF?
@Rojo, that definitely wastes less time than what I wrote! But if @BobBrooks is new to this he might find the above syntax more versatile as you can then go to ask Probability[-2 < x < 2, Distributed[x, NormalDistribution[a, b]]]
Feb
23
comment My Data has negative and positive numbers, can I still use it to get the PDF?
I don't think any of the distributions care about positive data, this isn't worth a separate answer but if you assume your data is normally distributed you could ask; Expectation[x, Distributed[x,EstimatedDistribution[RandomInteger[{-10, 10},10],NormalDistribution[mean, sd]]]] or assume any of these Names["*Distribution"]
Feb
20
comment How can I make an InputField[] with a proper newline/carriage return?
This solves a long standing question of mine, so thanks! I made an edit for it to handle Shift-Return: EventHandler[ InputField[Dynamic[demo2], String, FieldHint -> "Quarter 1 Turnover", Alignment -> {Left, Center}], {{"MenuCommand", "HandleShiftReturn"} :> FrontEndExecute[{NotebookWrite[InputNotebook[], "\n", After]}], "ReturnKeyDown" :> FrontEndExecute[{NotebookWrite[InputNotebook[], "\n", After]}]}]
Feb
3
comment Initialization Time Out (Weighted Financial Data)
Understandable, I usually employ common sense when building things up and then it goes out the window when I attempt to dump everything within a Manipulate. DynamicModule would have provided me with more flexibility but I wanted a quick solution. Thanks again for commenting.
Feb
3
accepted Initialization Time Out (Weighted Financial Data)
Feb
3
comment Initialization Time Out (Weighted Financial Data)
Thanks @cormullion, I guess I just need to adjust my DatePlus value so that "a while" is "a little while".
Feb
3
comment Initialization Time Out (Weighted Financial Data)
@LeonidShifrin, I'd like to be able to use this Manipulate without having Initialization Cells if at all possible. Cormulion's answer below is probably the fastest way to do this.
Feb
2
asked Initialization Time Out (Weighted Financial Data)
Jan
8
awarded  Scholar
Jan
8
awarded  Student
Jan
8
accepted Inheriting Stylesheets when using CreateDocument
Jan
8
comment Inheriting Stylesheets when using CreateDocument
Well, I should've thought of that. Thanks, John!